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>
This commit is contained in:
Junio C Hamano
2007-01-17 15:03:39 -08:00
parent e47f306d4b
commit 917a8f891f
3 changed files with 9 additions and 10 deletions

View File

@ -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)
{