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

[PATCH] Documentation: Explain git-mergetool's use of temporary files

From
David Aguilar <davvid@gmail.com>
Date
Jul 18, 2010, 01:46 UTC
Message-ID
<1279417608-6442-1-git-send-email-davvid@gmail.com>

'git mergetool' creates '*.orig' backup files in its default configuration. Mention this in its documentation.

Signed-off-by: David Aguilar <davvid@gmail.com>
---
 Documentation/git-mergetool.txt |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/Documentation/git-mergetool.txt b/Documentation/git-mergetool.txt
index 55735fa..e4ed016 100644
--- a/Documentation/git-mergetool.txt
+++ b/Documentation/git-mergetool.txt
@@ -72,6 +72,16 @@ success of the resolution after the custom tool has exited.
 	This is the default behaviour; the option is provided to
 	override any configuration settings.
 
+TEMPORARY FILES
+---------------
+`git mergetool` creates `*.orig` backup files while resolving merges.
+These are safe to remove once a file has been merged and its
+`git mergetool` session has completed.
+
+Setting the `mergetool.keepBackup` configuration variable to `false`
+causes `git mergetool` to automatically remove the backup as files
+are successfully merged.
+
 Author
 ------
 Written by Theodore Y Ts'o <tytso@mit.edu>
-- 
1.7.2.rc2.10.g637ab
Next: Chris.Cheney
Message 1 of 2 in “Documentation: Explain git-mergetool's use of temporary files”
  1. Documentation: Explain git-mergetool's use of temporary filesDavid Aguilar, Jul 18, 2010
  2. Chris.CheneyJul 24, 2010

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.