]> git.ipfire.org Git - thirdparty/git.git/commit - t/t9815-git-p4-submit-fail.sh
git-p4: avoid "stat" command in t9815 git-p4-submit-fail
authorLars Schneider <larsxschneider@gmail.com>
Mon, 12 Oct 2015 17:03:03 +0000 (10:03 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 12 Oct 2015 17:36:16 +0000 (10:36 -0700)
commit3a692b3c87e5433ab0a98f1307486c9956408e30
tree62b4fc358c6753430fef0470408aa7d836b8b611
parent22f698cb188243b313e024d618283e0293e37140
git-p4: avoid "stat" command in t9815 git-p4-submit-fail

Replace the stat command with the ls command to check file mode
bits.  The stats command is not available on Windows and has
different command line options on OS X.

Signed-off-by: Lars Schneider <larsxschneider@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9815-git-p4-submit-fail.sh