threads / patch / 65096

v2v2: revert per-repo move + add clarifying comment

Subject: [PATCH v2] v2: revert per-repo move + add clarifying comment

## tl;dr

One message between Feb 28, 2026 and Feb 28, 2026. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

drona· Feb 28, 2026, 13:48 UTC · lore
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(-)
Show changes to environment.c +1 −1
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

← back to recent threads