git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Ddrona <dronarajgyawali@gmail.com>
Date
Feb 28, 2026, 13:48 UTC
Message-ID
<20260228134815.20769-1-dronarajgyawali@gmail.com>
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
Message 1 of 1 in “v2: revert per-repo move + add clarifying comment”
  1. v2: revert per-repo move + add clarifying commentdrona, Feb 28, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.