summaryrefslogtreecommitdiff
path: root/Documentation/howto
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2011-09-13 16:13:58 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-09-13 17:11:39 (GMT)
commit376eb14a05f693378047eee36a10035c122f0261 (patch)
tree2eb35327a9c06e9971d9e761c184ae4a3b86e46f /Documentation/howto
parent7b787599e4f45784c36e82030d0f6bae72817bfc (diff)
downloadgit-376eb14a05f693378047eee36a10035c122f0261.zip
git-376eb14a05f693378047eee36a10035c122f0261.tar.gz
git-376eb14a05f693378047eee36a10035c122f0261.tar.bz2
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 'Documentation/howto')
0 files changed, 0 insertions, 0 deletions