summaryrefslogtreecommitdiff
path: root/t/t4000-diff-format.sh
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-01-05 20:52:50 -0800
committerJunio C Hamano <junkio@cox.net>2006-01-05 20:52:50 -0800
commit92e802c6ccb96d1b5e8561b0a136d43d82253293 (patch)
tree9b6c265d69d1dc8bcce36c86a44674cfb010a6d7 /t/t4000-diff-format.sh
parent17dff84b5e745ba17a5b3ae5591d79f96b165d48 (diff)
parentc1fe2fe4fe685e0587c3949f953aab726de88994 (diff)
GIT 1.0.7v1.0.7
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 't/t4000-diff-format.sh')
-rwxr-xr-xt/t4000-diff-format.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/t/t4000-diff-format.sh b/t/t4000-diff-format.sh
index beb6d8f487..67b9681d36 100755
--- a/t/t4000-diff-format.sh
+++ b/t/t4000-diff-format.sh
@@ -26,6 +26,14 @@ rm -f path1
test_expect_success \
'git-diff-files -p after editing work tree.' \
'git-diff-files -p >current'
+
+# that's as far as it comes
+if [ "$(git repo-config --get core.filemode)" = false ]
+then
+ say 'filemode disabled on the filesystem'
+ test_done
+fi
+
cat >expected <<\EOF
diff --git a/path0 b/path0
old mode 100644