Merge branch 'maint'
* maint: update-server-info: Shorten read_pack_info_file() Documentation: Explain git-mergetool's use of temporary files
This commit is contained in:
commit
c5212b87da
@ -72,6 +72,16 @@ success of the resolution after the custom tool has exited.
|
|||||||
This is the default behaviour; the option is provided to
|
This is the default behaviour; the option is provided to
|
||||||
override any configuration settings.
|
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
|
Author
|
||||||
------
|
------
|
||||||
Written by Theodore Y Ts'o <tytso@mit.edu>
|
Written by Theodore Y Ts'o <tytso@mit.edu>
|
||||||
|
@ -113,11 +113,8 @@ static int read_pack_info_file(const char *infofile)
|
|||||||
goto out_stale;
|
goto out_stale;
|
||||||
break;
|
break;
|
||||||
case 'D': /* we used to emit D but that was misguided. */
|
case 'D': /* we used to emit D but that was misguided. */
|
||||||
goto out_stale;
|
|
||||||
break;
|
|
||||||
case 'T': /* we used to emit T but nobody uses it. */
|
case 'T': /* we used to emit T but nobody uses it. */
|
||||||
goto out_stale;
|
goto out_stale;
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
error("unrecognized: %s", line);
|
error("unrecognized: %s", line);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user