git-checkout: regression on initial checkout
Bug #1846478 reported by
Thomas Faivre
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
git (Ubuntu) |
New
|
Undecided
|
Unassigned |
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:/
To post a comment you must log in.