summaryrefslogtreecommitdiff
path: root/t/t4022-diff-rewrite.sh
diff options
context:
space:
mode:
authorLibravatar Lea Wiemann <lewiemann@gmail.com>2008-05-31 23:11:21 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-05-31 18:32:17 -0700
commit1bd9c648408e3dd79882ab4c23af3b791c9e3c21 (patch)
tree24710b2aedd1336dee0edd8b82fd7258788ad448 /t/t4022-diff-rewrite.sh
parent"git checkout -- paths..." should error out when paths cannot be written (diff)
downloadtgif-1bd9c648408e3dd79882ab4c23af3b791c9e3c21.tar.xz
t/test-lib.sh: resolve symlinks in working directory, for pathname comparisons
Without this, some tests will fail because they compare command output of subprocesses (such as git) with $PWD -- but subprocesses have the physical path as their working directory, whereas $PWD contains the symlinked path. This fixes it. Signed-off-by: Lea Wiemann <LeWiemann@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4022-diff-rewrite.sh')
0 files changed, 0 insertions, 0 deletions