summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4be1fe1)
raw | patch | inline | side by side (parent: 4be1fe1)
author | Alex Riesen <raa.lkml@gmail.com> | |
Tue, 20 May 2008 21:59:32 +0000 (23:59 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 21 May 2008 18:20:34 +0000 (11:20 -0700) |
[jc: squashed in suggestions from Jeff King]
Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3701-add-interactive.sh | patch | blob | history |
index f15be93e7709acbb517bb85020d4d6b94a50f725..fae64eae9f9ff9b34b935e8556df61d2093425cf 100755 (executable)
grep "unchanged *+3/-0 file" output
'
+if test "$(git config --bool core.filemode)" = false
+then
+ say 'skipping filemode tests (filesystem does not properly support modes)'
+else
+
test_expect_success 'patch does not affect mode' '
git reset --hard &&
echo content >>file &&
git diff file | grep "+content"
'
+fi
+# end of tests disabled when filemode is not usable
test_done