From: "Cleber Rosa via GitGitGadget" <gitgitgadget@gmail.com>
To: git@vger.kernel.org
Cc: Cleber Rosa <crosa@redhat.com>, Cleber Rosa <crosa@redhat.com>
Subject: [PATCH] setup: fix function name
Date: Thu, 09 Jun 2022 13:55:20 +0000 [thread overview]
Message-ID: <pull.1255.git.1654782920256.gitgitgadget@gmail.com> (raw)
From: Cleber Rosa <crosa@redhat.com>
The reference given to users when the result of
setup_git_directory_gently_1() is unexpected is incorrect.
This fixes the name of the function when presenting the BUG message.
Signed-off-by: Cleber Rosa <crosa@redhat.com>
---
setup: fix function name
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-1255%2Fclebergnu%2Ffix_function_name-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-1255/clebergnu/fix_function_name-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/1255
setup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/setup.c b/setup.c
index faf5095e44d..b5a537258d2 100644
--- a/setup.c
+++ b/setup.c
@@ -1402,7 +1402,7 @@ const char *setup_git_directory_gently(int *nongit_ok)
* find a repository.
*/
default:
- BUG("unhandled setup_git_directory_1() result");
+ BUG("unhandled setup_git_directory_gently_1() result");
}
/*
base-commit: 9c897eef06347cc5a3eb07c3ae409970ab1052c8
--
gitgitgadget
next reply other threads:[~2022-06-09 13:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-09 13:55 Cleber Rosa via GitGitGadget [this message]
2022-06-17 22:43 ` [PATCH] setup: fix function name 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=pull.1255.git.1654782920256.gitgitgadget@gmail.com \
--to=gitgitgadget@gmail.com \
--cc=crosa@redhat.com \
--cc=git@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.