git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [BUG] fetch/pull -h ABORT out of a git repo

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 2, 2022, 19:22 UTC
Message-ID
<xmqqczj4kvl8.fsf@gitster.g>
In-Reply-To
<2022030219025261342425@oschina.cn>
"lilinchao@oschina.cn" <lilinchao@oschina.cn> writes:
Show 12 quoted lines
>>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.

Previous: lilinchao@oschina.cn
Message 3 of 3 in “[BUG] fetch/pull -h ABORT out of a git repo”
  1. lilinchao@oschina.cnMar 2, 2022
  2. lilinchao@oschina.cnMar 2, 2022
  3. Junio C HamanoMar 2, 2022

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.