[Bug 1846478] [NEW] git-checkout: regression on initial checkout

Thomas Faivre thomas.faivre at 6wind.com
Thu Oct 3 11:37:44 UTC 2019


Public bug reported:

Dear Maintainer,

There is a regression in the behavior of git checkout on a new,
unchecked-out git repository in version 1:2.20.1-2ubuntu1 (eoan and disco):

$ git clone --no-checkout <git_repo> /tmp/repo
$ git -C /tmp/repo checkout -b <new_branch> <tag>
$ ls /tmp/repo
<empty, nothing was checked-out>

Bug was fixed in v2.21.0 of git. Patch is available [1].

Thank you!


[1]: https://github.com/git/git/commit/8424bfd45b291a56594f0289dc6af22e900a1d88

** Affects: git (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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/1846478

Title:
  git-checkout: regression on initial checkout

Status in git package in Ubuntu:
  New

Bug description:
  Dear Maintainer,

  There is a regression in the behavior of git checkout on a new,
  unchecked-out git repository in version 1:2.20.1-2ubuntu1 (eoan and disco):

  $ git clone --no-checkout <git_repo> /tmp/repo
  $ git -C /tmp/repo checkout -b <new_branch> <tag>
  $ ls /tmp/repo
  <empty, nothing was checked-out>

  Bug was fixed in v2.21.0 of git. Patch is available [1].

  Thank you!

  
  [1]: https://github.com/git/git/commit/8424bfd45b291a56594f0289dc6af22e900a1d88

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/git/+bug/1846478/+subscriptions



More information about the foundations-bugs mailing list