git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "lilinchao@oschina.cn" <lilinchao@oschina.cn>
To: "Derrick Stolee" <stolee@gmail.com>, git <git@vger.kernel.org>
Cc: "Junio C Hamano" <gitster@pobox.com>
Subject: [BUG] fetch/pull -h ABORT out of a git repo
Date: Wed, 2 Mar 2022 18:45:50 +0800	[thread overview]
Message-ID: <2022030218445028804916@oschina.cn> (raw)

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

             reply	other threads:[~2022-03-02 10:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-02 10:45 lilinchao [this message]
2022-03-02 11:07 ` [BUG] fetch/pull -h ABORT out of a git repo lilinchao
2022-03-02 19:22   ` Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2022030218445028804916@oschina.cn \
    --to=lilinchao@oschina.cn \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=stolee@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).