Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'ow/config-mailmap-pathname' into maint
author
Junio C Hamano
<gitster@pobox.com>
Wed, 25 Jun 2014 18:45:55 +0000
(11:45 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 25 Jun 2014 18:45:55 +0000
(11:45 -0700)
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
config.c
patch
|
blob
|
history
raw
(from parent 1:
ad5d893
)
diff --git
a/config.c
b/config.c
index a30cb5c07db18a5ac16c1c98b6600c9fe6dc1b73..5272fc6f0b0c3825650c8b0fcca91415af62f43e 100644
(file)
--- 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);