projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
git-svn: rebuild convenience and bugfixes
[git.git]
/
t
/
t4102-apply-rename.sh
diff --git
a/t/t4102-apply-rename.sh
b/t/t4102-apply-rename.sh
index
0401d7b
..
fbb508d
100755
(executable)
--- a/
t/t4102-apply-rename.sh
+++ b/
t/t4102-apply-rename.sh
@@
-31,7
+31,12
@@
test_expect_success setup \
test_expect_success apply \
'git-apply --index --stat --summary --apply test-patch'
test_expect_success apply \
'git-apply --index --stat --summary --apply test-patch'
-test_expect_success validate \
- 'test -f bar && ls -l bar | grep "^-..x......"'
+if [ "$(git repo-config --get core.filemode)" = false ]
+then
+ say 'filemode disabled on the filesystem'
+else
+ test_expect_success validate \
+ 'test -f bar && ls -l bar | grep "^-..x......"'
+fi
test_done
test_done