Rodrigo Michelassi <rodmichelassi@xxxxxxxxx> writes: > 'test_path_is_file', 'test_path_is_dir' and 'test_file_is_missing' > are test helpers used in Git's development, that emit useful > diagnostic information when they detect a failing condition, while > test -[efd] does not. > Replace the basic shell commands 'test -f', 'test -d' and 'test -e', > with this modern path checking approach. > > Co-authored-by: Isabella Caselli <icaselli@xxxxxx> > Signed-off-by: Isabella Caselli <icaselli@xxxxxx> > Signed-off-by: Rodrigo Michelassi <rodmichelassi@xxxxxxxxx> > --- > t/t2400-worktree-add.sh | 20 ++++++++++---------- > 1 file changed, 10 insertions(+), 10 deletions(-) Looking good. Will queue. Thanks.