diff options
author | Junio C Hamano <junkio@cox.net> | 2007-01-18 00:03:39 +0100 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-01-18 08:48:20 +0100 |
commit | 917a8f891f1ceeb48609f99ba3b32e022ac766f9 (patch) | |
tree | cdc42ddfc12ee467291c6bda1a05013b3e9f144e /builtin-log.c | |
parent | git-format-patch: make --binary on by default (diff) | |
download | git-917a8f891f1ceeb48609f99ba3b32e022ac766f9.tar.xz git-917a8f891f1ceeb48609f99ba3b32e022ac766f9.zip |
git-format-patch: the default suffix is now .patch, not .txt
Editors often give easier handling of patch files if the
filename ends with .patch, so use it instead of .txt.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'builtin-log.c')
-rw-r--r-- | builtin-log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-log.c b/builtin-log.c index 930cc0401c..f3cff13edc 100644 --- a/builtin-log.c +++ b/builtin-log.c @@ -197,7 +197,7 @@ static int istitlechar(char c) static char *extra_headers = NULL; static int extra_headers_size = 0; -static const char *fmt_patch_suffix = ".txt"; +static const char *fmt_patch_suffix = ".patch"; static int git_format_config(const char *var, const char *value) { |