aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-06-25 11:45:55 -0700
committerJunio C Hamano <gitster@pobox.com>2014-06-25 11:45:55 -0700
commitfbfdf13b5c0f168bbb292454d8099ca49dd7dbd6 (patch)
treeb3a65890a8ba0d7b0ffdc640999136b7bc282574
parentad5d8939078a50c247e259cdc1b6d615b233bf47 (diff)
parent9352fd570876ea0faf9f12251ecea06954fbe59b (diff)
downloadgit-fbfdf13b5c0f168bbb292454d8099ca49dd7dbd6.tar.gz
git-fbfdf13b5c0f168bbb292454d8099ca49dd7dbd6.tar.xz
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
-rw-r--r--config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.c b/config.c
index a30cb5c07..5272fc6f0 100644
--- a/config.c
+++ b/config.c
@@ -952,7 +952,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);