Skip to content

Commit c5212b8

Browse files
committed
Merge branch 'maint'
* maint: update-server-info: Shorten read_pack_info_file() Documentation: Explain git-mergetool's use of temporary files
2 parents f0e5a4b + c173dad commit c5212b8

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

Documentation/git-mergetool.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,16 @@ success of the resolution after the custom tool has exited.
7272
This is the default behaviour; the option is provided to
7373
override any configuration settings.
7474

75+
TEMPORARY FILES
76+
---------------
77+
`git mergetool` creates `*.orig` backup files while resolving merges.
78+
These are safe to remove once a file has been merged and its
79+
`git mergetool` session has completed.
80+
81+
Setting the `mergetool.keepBackup` configuration variable to `false`
82+
causes `git mergetool` to automatically remove the backup as files
83+
are successfully merged.
84+
7585
Author
7686
------
7787
Written by Theodore Y Ts'o <[email protected]>

server-info.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,8 @@ static int read_pack_info_file(const char *infofile)
113113
goto out_stale;
114114
break;
115115
case 'D': /* we used to emit D but that was misguided. */
116-
goto out_stale;
117-
break;
118116
case 'T': /* we used to emit T but nobody uses it. */
119117
goto out_stale;
120-
break;
121118
default:
122119
error("unrecognized: %s", line);
123120
break;

0 commit comments

Comments
 (0)