From: Junio C Hamano Date: Wed, 02 Mar 2022 19:22:59 GMT Subject: Re: [BUG] fetch/pull -h ABORT out of a git repo Message-ID: In-Reply-To: <2022030219025261342425@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.