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

[PATCH v2] Add note that conflict resolution is still performed

From
MBMatthias Beyer <mail@beyermatthias.de>
Date
Jul 15, 2022, 09:25 UTC
Message-ID
<20220715092527.1567837-1-mail@beyermatthias.de>
In-Reply-To
<xmqq35f6fe0j.fsf@gitster.g>

We should note that conflict resolution is still performed, even if `--no-rerere-autoupdate` is specified, to make sure users do not get confused by the setting and assume this disables rerere conflict resultion altogether.

CC: Phillip Wood <phillip.wood@dunelm.org.uk>
CC: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
---
 Documentation/git-cherry-pick.txt | 4 ++++
 1 file changed, 4 insertions(+)
diff --git a/Documentation/git-cherry-pick.txt b/Documentation/git-cherry-pick.txt
index 78dcc9171f..b92aa1f9da 100644
--- a/Documentation/git-cherry-pick.txt
+++ b/Documentation/git-cherry-pick.txt
@@ -160,6 +160,10 @@ effect to your index in a row.
 --no-rerere-autoupdate::
 	Allow the rerere mechanism to update the index with the
 	result of auto-conflict resolution if possible.
+	The `--no-rerere-autoupdate` option does not prevent the conflict
+	resolution, but prevents the index from being updated. This gives the
+	user a chance for a final sanity check before using linkgit:git-add[1]
+	to add the result.
 
 SEQUENCER SUBCOMMANDS
 ---------------------
-- 
2.36.0
Next: Junio C Hamano
Message 1 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.