public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
* [PATCH v2] v2: revert per-repo move + add clarifying comment
@ 2026-02-28 13:48 drona
  0 siblings, 0 replies; 2+ messages in thread
From: drona @ 2026-02-28 13:48 UTC (permalink / raw)
  To: git; +Cc: Dorna Raj Gyawali

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH v2] v2: revert per-repo move + add clarifying comment
  2026-02-27 12:56 [PATCH] repo-settings: move warn_on_object_refname_ambiguity to repo_settings drona
@ 2026-02-28 14:02 ` drona
  0 siblings, 0 replies; 2+ messages in thread
From: drona @ 2026-02-28 14:02 UTC (permalink / raw)
  To: git; +Cc: christian.couder, Dorna Raj Gyawali

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-02-28 14:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-28 13:48 [PATCH v2] v2: revert per-repo move + add clarifying comment drona
  -- 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox