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:
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user