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
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user