]> git.ipfire.org Git - thirdparty/git.git/commit
t1001: replace 'test -f' with 'test_path_is_file'
authorRodrigo Carvalho <rodrigorsdc@gmail.com>
Sat, 10 May 2025 23:09:09 +0000 (20:09 -0300)
committerJunio C Hamano <gitster@pobox.com>
Mon, 12 May 2025 17:09:21 +0000 (10:09 -0700)
commitbac220e154994c3d68089d6860de9f78ce5a01f9
tree902085c649b8b7e91b5068f331a69c4f24685823
parent2f323bb16219c105e0c576ea4c2ece9863f5d926
t1001: replace 'test -f' with 'test_path_is_file'

'test_path_is_file' is a modern path checking method in Git's development.
 Replace the basic shell command 'test -f' with this approach.

Signed-off-by: Rodrigo Carvalho <rodrigorsdc@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1001-read-tree-m-2way.sh