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