diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-06-16 12:18:24 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-06-16 12:18:24 -0700 |
commit | c37d3269d92eedbdf405a6f196253d120e8e2721 (patch) | |
tree | 92d4f3a8f6c31e0cacd55695b090bd15a7da7a26 /config.c | |
parent | c9fc3a6ac5011ce03e8132973687d1242807dc6c (diff) | |
parent | 9352fd570876ea0faf9f12251ecea06954fbe59b (diff) | |
download | git-c37d3269d92eedbdf405a6f196253d120e8e2721.tar.gz |
Merge branch 'ow/config-mailmap-pathname'
mailmap.file configuration names a pathname, hence should honor
~/path and ~user/path as its value.
* ow/config-mailmap-pathname:
config: respect '~' and '~user' in mailmap.file
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -953,7 +953,7 @@ static int git_default_push_config(const char *var, const char *value) static int git_default_mailmap_config(const char *var, const char *value) { if (!strcmp(var, "mailmap.file")) - return git_config_string(&git_mailmap_file, var, value); + return git_config_pathname(&git_mailmap_file, var, value); if (!strcmp(var, "mailmap.blob")) return git_config_string(&git_mailmap_blob, var, value); |