summaryrefslogtreecommitdiff
path: root/builtin-log.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-01-17 15:03:39 -0800
committerJunio C Hamano <junkio@cox.net>2007-01-17 23:48:20 -0800
commit917a8f891f1ceeb48609f99ba3b32e022ac766f9 (patch)
treecdc42ddfc12ee467291c6bda1a05013b3e9f144e /builtin-log.c
parente47f306d4bf964def1a0b29e8f7cea419471dffd (diff)
downloadgit-917a8f891f1ceeb48609f99ba3b32e022ac766f9.tar.gz
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.c2
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)
{