summaryrefslogtreecommitdiff
path: root/builtin-commit.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-11-22 16:28:38 -0800
committerJunio C Hamano <gitster@pobox.com>2009-11-22 16:28:38 -0800
commiteb2fc8f899a58eedc87e7e8ea0fdecdc2ba9f430 (patch)
tree63d327f46a8c9d112e40efbaf85fe85a10f5530b /builtin-commit.c
parent3fa384d27e79d4731a9188716f566fa423a8ff50 (diff)
parent0f7fb21a7aec7ab8047536af018daa981b3b2676 (diff)
downloadgit-eb2fc8f899a58eedc87e7e8ea0fdecdc2ba9f430.tar.gz
Merge branch 'mm/config-pathname-tilde-expand'
* mm/config-pathname-tilde-expand: Documentation: avoid xmlto input error expand_user_path: expand ~ to $HOME, not to the actual homedir. Expand ~ and ~user in core.excludesfile, commit.template
Diffstat (limited to 'builtin-commit.c')
-rw-r--r--builtin-commit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-commit.c b/builtin-commit.c
index d525b894ec..09d28405ec 100644
--- a/builtin-commit.c
+++ b/builtin-commit.c
@@ -999,7 +999,7 @@ static int git_commit_config(const char *k, const char *v, void *cb)
struct wt_status *s = cb;
if (!strcmp(k, "commit.template"))
- return git_config_string(&template_file, k, v);
+ return git_config_pathname(&template_file, k, v);
return git_status_config(k, v, s);
}