[PATCH v2 2/3] difftool: avoid double slashes in symlink targets

2013-03-14 Thread John Keeping
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

Re: [PATCH v2 2/3] difftool: avoid double slashes in symlink targets

2013-03-14 Thread Junio C Hamano
John Keeping j...@keeping.me.uk writes: 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