summaryrefslogtreecommitdiff
path: root/t/t4013/diff.diff-tree_--pretty_-p_initial
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2011-09-13 12:13:58 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-09-13 10:11:39 -0700
commit376eb14a05f693378047eee36a10035c122f0261 (patch)
tree2eb35327a9c06e9971d9e761c184ae4a3b86e46f /t/t4013/diff.diff-tree_--pretty_-p_initial
parentbranch: -v does not automatically imply --list (diff)
downloadtgif-376eb14a05f693378047eee36a10035c122f0261.tar.xz
t3200: clean up checks for file existence
This patch uses test_path_is_file and test_path_is_missing instead of "test -f / ! test -f" checks. The former are more verbose in case of failure and more precise (e.g., is_missing will check that the entry is actually missing, not just not a regular file). As a bonus, this also fixes a few buggy tests that used "test foo" instead of "test -f foo", and consequently always reported success. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff-tree_--pretty_-p_initial')
0 files changed, 0 insertions, 0 deletions