3 test_description='diff --no-index'
7 test_expect_success 'setup' '
19 test_expect_success 'git diff --no-index directories' '
20 git diff --no-index a b >cnt
21 test $? = 1 && test_line_count = 14 cnt
24 test_expect_success 'git diff --no-index relative path outside repo' '
27 test_expect_code 0 git diff --no-index a ../non/git/a &&
28 test_expect_code 0 git diff --no-index ../non/git/a ../non/git/b