Skip to content

Commit fbfdf13

Browse files
committed
Merge branch 'ow/config-mailmap-pathname' into maint
The "mailmap.file" configuration option did not support the tilde expansion (i.e. ~user/path and ~/path). * ow/config-mailmap-pathname: config: respect '~' and '~user' in mailmap.file
2 parents ad5d893 + 9352fd5 commit fbfdf13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -952,7 +952,7 @@ static int git_default_push_config(const char *var, const char *value)
952952
static int git_default_mailmap_config(const char *var, const char *value)
953953
{
954954
if (!strcmp(var, "mailmap.file"))
955-
return git_config_string(&git_mailmap_file, var, value);
955+
return git_config_pathname(&git_mailmap_file, var, value);
956956
if (!strcmp(var, "mailmap.blob"))
957957
return git_config_string(&git_mailmap_blob, var, value);
958958

0 commit comments

Comments
 (0)