diff options
| author | David Aguilar <davvid@gmail.com> | 2016-12-09 00:58:46 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2016-12-11 16:18:53 -0800 |
| commit | e6e3e2a67c8dacb0ed726f09cf203568f24f8e74 (patch) | |
| tree | 9cc84e961e75bdc711ecb888dc7aa989bbfed1c1 /git-gui/lib/diff.tcl | |
| parent | difftool: fix dir-diff index creation when in a subdirectory (diff) | |
| download | git-e6e3e2a67c8dacb0ed726f09cf203568f24f8e74.tar.gz git-e6e3e2a67c8dacb0ed726f09cf203568f24f8e74.zip | |
difftool: sanitize $workdir as early as possible
The double-slash fixup on the $workdir variable was being
performed just-in-time to avoid double-slashes in symlink
targets, but the rest of the code was silently using paths with
embedded "//" in them.
A recent user-reported error message contained double-slashes.
Eliminate the issue by sanitizing inputs as soon as they arrive.
Signed-off-by: David Aguilar <davvid@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/lib/diff.tcl')
0 files changed, 0 insertions, 0 deletions
