summaryrefslogtreecommitdiff
path: root/kwset.c
diff options
context:
space:
mode:
authorLibravatar John Keeping <john@keeping.me.uk>2013-03-14 20:19:40 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-03-14 14:29:05 -0700
commite0976dcf83884fd0b48e90f0c62f50852e6971f6 (patch)
treeb46d2436505015c1a87b94206891a4b2c0ee1eec /kwset.c
parentgit-difftool(1): fix formatting of --symlink description (diff)
downloadtgif-e0976dcf83884fd0b48e90f0c62f50852e6971f6.tar.xz
difftool: avoid double slashes in symlink targets
When we add tests for symlinks in "git difftool --dir-diff" it's easier to check the target path if we don't have to worry about double slashes separating directories. Remove the trailing slash (if present) from $workdir before creating the symlinks in order to avoid this. Signed-off-by: John Keeping <john@keeping.me.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'kwset.c')
0 files changed, 0 insertions, 0 deletions