fetch/pull -h ABORT out of a git repo
Hi,
When I run git fetch -h or git pull -h out side of a git repo, I can't get any help message but some bug messages:
"$ git pull -h
BUG: repo-settings.c:21: Cannot add settings for uninitialized repository
[1] 17589 abort git pull -h
$ git pull -h BUG: repo-settings.c:21: Cannot add settings for uninitialized repository [1] 17737 abort git pull -h "
Apparently, the process aborted unexpectedly. I think this is a BUG.
This was introduced after v2.34.1, the related commits are:
5a4e0547e2386f9bf0565316d7b751fe9459898b44c7e62e51e504c060844360fc56b613cfc1beea
--------------
[email protected]
Quoted 7 lines
Apparently, the process aborted unexpectedly. I think this is a BUG.
This was introduced after v2.34.1, the related commits are:
5a4e0547e2386f9bf0565316d7b751fe9459898b44c7e62e51e504c060844360fc56b613cfc1beea
Since I found more commands will abort, I think the main relevant commit is 44c7e62e [1]
Quoted 4 lines · "[email protected]" <[email protected]> writes:
Quoted 4 lines
Apparently, the process aborted unexpectedly. I think this is a BUG.
This was introduced after v2.34.1, the related commits are:
Quoted 8 lines
Quoted 2 lines
5a4e0547e2386f9bf0565316d7b751fe9459898b44c7e62e51e504c060844360fc56b613cfc1beeaSince I found more commands will abort, I think the main relevant commit is
44c7e62e[1]
Thanks; I think the fix 059fda19 (checkout/fetch/pull/pack-objects:
allow -h outside a repository, 2022-02-08) is already in the 'master/main' branch.