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

[PATCH] doc: clarify rerere-autoupdate

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 3, 2022, 20:59 UTC
Message-ID
<20220803205915.1550797-1-gitster@pobox.com>
In-Reply-To
<xmqq35f2ysd9.fsf@gitster.g>

The "--[no-]rerere-autoupdate" option controls what happens _after_ the rerere mechanism kicks in to reuse recorded resolutions and does not prevent from the rerere mechanism to trigger in the first place.

It is unclear in the current text if "--no-rerere-autoupdate" stops the auto-resolution. Rewrite the sentence to clarify.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
---
 Documentation/rerere-options.txt | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/Documentation/rerere-options.txt b/Documentation/rerere-options.txt
index 8f4849e272..c3321ddea2 100644
--- a/Documentation/rerere-options.txt
+++ b/Documentation/rerere-options.txt
@@ -1,4 +1,9 @@
 --rerere-autoupdate::
 --no-rerere-autoupdate::
-	Allow the rerere mechanism to update the index with the
-	result of auto-conflict resolution if possible.
+	After the rerere mechanism reuses a recorded resolution on
+	the current conflict to update the files in the working
+	tree, allow it to also update the index with the result of
+	resolution.  `--no-rerere-autoupdate` is a good way to
+	double-check what `rerere` did and catch potential
+	mismerges, before committing the result to the index with a
+	separate `git add`.
-- 
2.37.1-482-g94c4bae67b
Previous: Junio C Hamano
Message 4 of 4 in “Add note that conflict resolution is still performed”
  1. Add note that conflict resolution is still performedMatthias Beyer, Jul 15, 2022
  2. Junio C HamanoJul 15, 2022
  3. Junio C HamanoJul 15, 2022
  4. doc: clarify rerere-autoupdateJunio C Hamano, Aug 3, 2022

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.