[Bug 1335638] [NEW] git fetch fails silently if remote repo is not checked out on any branch
Andrey Gelman
1335638 at bugs.launchpad.net
Sun Jun 29 15:41:00 UTC 2014
Public bug reported:
Reproduction steps:
1) Create a git repository that has no branches at all (detached HEAD and no branches).
2) Let this repository serve as a remote to another repository.
Now, 'git fetch <name>' fails silently.
Notes:
1) If it cannot succeed, let it fail loudly at least, if possible providing a useful hint.
2) A repository with no branches at all is not that rare thing as one might think - e.g. clone AOSP (Android Open Source Project) - every one of its git repos is checked out at some point with no branches at all.
3) I have built git version 2 - the bug is still there.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: git 1:1.9.1-1
ProcVersionSignature: Ubuntu 3.13.0-29.53-generic 3.13.11.2
Uname: Linux 3.13.0-29-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
CurrentDesktop: Unity
Date: Sun Jun 29 18:25:16 2014
InstallationDate: Installed on 2011-10-23 (980 days ago)
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111011)
SourcePackage: git
UpgradeStatus: Upgraded to trusty on 2014-05-25 (35 days ago)
** Affects: git (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug trusty
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to git in Ubuntu.
https://bugs.launchpad.net/bugs/1335638
Title:
git fetch fails silently if remote repo is not checked out on any
branch
Status in “git” package in Ubuntu:
New
Bug description:
Reproduction steps:
1) Create a git repository that has no branches at all (detached HEAD and no branches).
2) Let this repository serve as a remote to another repository.
Now, 'git fetch <name>' fails silently.
Notes:
1) If it cannot succeed, let it fail loudly at least, if possible providing a useful hint.
2) A repository with no branches at all is not that rare thing as one might think - e.g. clone AOSP (Android Open Source Project) - every one of its git repos is checked out at some point with no branches at all.
3) I have built git version 2 - the bug is still there.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: git 1:1.9.1-1
ProcVersionSignature: Ubuntu 3.13.0-29.53-generic 3.13.11.2
Uname: Linux 3.13.0-29-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
CurrentDesktop: Unity
Date: Sun Jun 29 18:25:16 2014
InstallationDate: Installed on 2011-10-23 (980 days ago)
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111011)
SourcePackage: git
UpgradeStatus: Upgraded to trusty on 2014-05-25 (35 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/git/+bug/1335638/+subscriptions
More information about the foundations-bugs
mailing list