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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1846478

Title:
  git-checkout: regression on initial checkout

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to