diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2017-03-07 15:32:32 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-03-07 15:18:55 -0800 |
commit | 6c1e654437b7d3fff8bb8315d61afa0e930d6776 (patch) | |
tree | 6a8c00edcebcf81f77102e3c427201f4de763e95 /t/t8008-blame-formats.sh | |
parent | t7006: replace dubious test (diff) | |
download | tgif-6c1e654437b7d3fff8bb8315d61afa0e930d6776.tar.xz |
setup_git_directory(): use is_dir_sep() helper
It is okay in practice to test for forward slashes in the output of
getcwd(), because we go out of our way to convert backslashes to forward
slashes in getcwd()'s output on Windows.
Still, the correct way to test for a dir separator is by using the
helper function we introduced for that very purpose. It also serves as a
good documentation what the code tries to do (not "how").
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t8008-blame-formats.sh')
0 files changed, 0 insertions, 0 deletions