difftool: avoid double slashes in symlink targets
authorJohn Keeping <john@keeping.me.uk>
Thu, 14 Mar 2013 20:19:40 +0000 (20:19 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 14 Mar 2013 21:29:05 +0000 (14:29 -0700)
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>
No differences found