From: drona <dronarajgyawali@gmail•com>
To: git@vger•kernel.org
Cc: Dorna Raj Gyawali <dronarajgyawali@gmail•com>
Subject: [PATCH v2] v2: revert per-repo move + add clarifying comment
Date: Sat, 28 Feb 2026 19:33:13 +0545 [thread overview]
Message-ID: <20260228134815.20769-1-dronarajgyawali@gmail.com> (raw)
From: Dorna Raj Gyawali <dronarajgyawali@gmail•com>
Following Junio's feedback: this flag is a user/process preference,
not repository-specific. Reverted the repo_settings changes.
Added a small comment for future contributors.
Signed-off-by: Dorna Raj Gyawali <dronarajgyawali@gmail•com>
---
environment.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/environment.c b/environment.c
index 0026eb2274..09c34d1776 100644
--- a/environment.c
+++ b/environment.c
@@ -49,7 +49,7 @@ int minimum_abbrev = 4, default_abbrev = -1;
int ignore_case;
int assume_unchanged;
int is_bare_repository_cfg = -1; /* unspecified */
-int warn_on_object_refname_ambiguity = 1;
+int warn_on_object_refname_ambiguity = 1; /* process-wide user preference */
char *git_commit_encoding;
char *git_log_output_encoding;
char *apply_default_whitespace;
--
2.43.0
next reply other threads:[~2026-02-28 13:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-28 13:48 drona [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-02-27 12:56 [PATCH] repo-settings: move warn_on_object_refname_ambiguity to repo_settings drona
2026-02-28 14:02 ` [PATCH v2] v2: revert per-repo move + add clarifying comment drona
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=20260228134815.20769-1-dronarajgyawali@gmail.com \
--to=dronarajgyawali@gmail$(echo .)com \
--cc=git@vger$(echo .)kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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