threads / patch / 24425

patchDocumentation: Explain git-mergetool's use of temporary files

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

## tl;dr

2 messages between Jul 18, 2010 and Jul 24, 2010. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

David Aguilar· Jul 18, 2010, 01:46 UTC · lore

'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(-)
Show changes to Documentation/git-mergetool.txt +10 −0
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
Chris.Cheney· Jul 24, 2010, 16:30 UTC · re: David Aguilar · lore

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

David Aguilar <davvid@gmail.com> wrote in news:1279417608-6442-1-git-send-email-davvid@gmail.com:

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

← back to recent threads