* [BUG] fetch/pull -h ABORT out of a git repo @ 2022-03-02 10:45 lilinchao 2022-03-02 11:07 ` lilinchao 0 siblings, 1 reply; 3+ messages in thread From: lilinchao @ 2022-03-02 10:45 UTC (permalink / raw) To: Derrick Stolee, git; +Cc: Junio C Hamano 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: 5a4e0547e2386f9bf0565316d7b751fe9459898b 44c7e62e51e504c060844360fc56b613cfc1beea -------------- lilinchao@oschina.cn ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [BUG] fetch/pull -h ABORT out of a git repo 2022-03-02 10:45 [BUG] fetch/pull -h ABORT out of a git repo lilinchao @ 2022-03-02 11:07 ` lilinchao 2022-03-02 19:22 ` Junio C Hamano 0 siblings, 1 reply; 3+ messages in thread From: lilinchao @ 2022-03-02 11:07 UTC (permalink / raw) To: git, Lessley Dennington; +Cc: Derrick Stolee, Junio C Hamano >Apparently, the process aborted unexpectedly. I think this is a BUG. > >This was introduced after v2.34.1, the related commits are: > >5a4e0547e2386f9bf0565316d7b751fe9459898b >44c7e62e51e504c060844360fc56b613cfc1beea Since I found more commands will abort, I think the main relevant commit is 44c7e62e [1] [1]: https://lore.kernel.org/git/fd28be71ca47a71b224a5b08cb81f903ada6a2bd.1638806161.git.gitgitgadget@gmail.com/ ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [BUG] fetch/pull -h ABORT out of a git repo 2022-03-02 11:07 ` lilinchao @ 2022-03-02 19:22 ` Junio C Hamano 0 siblings, 0 replies; 3+ messages in thread From: Junio C Hamano @ 2022-03-02 19:22 UTC (permalink / raw) To: lilinchao; +Cc: git, Lessley Dennington, Derrick Stolee "lilinchao@oschina.cn" <lilinchao@oschina.cn> writes: >>Apparently, the process aborted unexpectedly. I think this is a BUG. >> >>This was introduced after v2.34.1, the related commits are: >> >>5a4e0547e2386f9bf0565316d7b751fe9459898b >>44c7e62e51e504c060844360fc56b613cfc1beea > > Since I found more commands will abort, I think the main relevant > commit is 44c7e62e [1] > > [1]: > https://lore.kernel.org/git/fd28be71ca47a71b224a5b08cb81f903ada6a2bd.1638806161.git.gitgitgadget@gmail.com/ 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. ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-03-02 19:23 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2022-03-02 10:45 [BUG] fetch/pull -h ABORT out of a git repo lilinchao 2022-03-02 11:07 ` lilinchao 2022-03-02 19:22 ` Junio C Hamano
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).