diff options
| author | Junio C Hamano <junkio@cox.net> | 2006-01-05 20:52:50 -0800 |
|---|---|---|
| committer | Junio C Hamano <junkio@cox.net> | 2006-01-05 20:52:50 -0800 |
| commit | 92e802c6ccb96d1b5e8561b0a136d43d82253293 (patch) | |
| tree | 9b6c265d69d1dc8bcce36c86a44674cfb010a6d7 /t/t4000-diff-format.sh | |
| parent | GIT 1.0.6 (diff) | |
| parent | Fix git-symbolic-ref typo in git.txt. (diff) | |
| download | git-1.0.7.tar.gz git-1.0.7.zip | |
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-x | t/t4000-diff-format.sh | 8 |
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 |
