summaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-02-14 17:51:48 +0700
committerJunio C Hamano <gitster@pobox.com>2018-02-14 10:21:21 -0800
commitf812cd94a2c31a059f44d1c98db0287af1295b39 (patch)
treedafde58f33407b3b17c682d8ecd89303f76f2e69 /commit.h
parent8279ed033f703d4115bee620dccd32a9ec94d9aa (diff)
downloadgit-f812cd94a2c31a059f44d1c98db0287af1295b39.tar.gz
parse-options: expand $HOME on filename options
When you specify "--path ~/foo", the shell will automatically expand ~/foo to $HOME/foo before it's passed to git. The expansion is not done on "--path=~/foo". An experienced user sees the difference but it could still be confusing for others (especially when tab-completion still works on --path=~/foo). Support $HOME expansion for all filename options. There are about seven of them. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.h')
0 files changed, 0 insertions, 0 deletions