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

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

From
Llilinchao@oschina.cn <lilinchao@oschina.cn>
Date
Mar 2, 2022, 10:45 UTC
Message-ID
<2022030218445028804916@oschina.cn>
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

Next: lilinchao@oschina.cn
Message 1 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.