3 test_description
="Test diff --no-index performance"
10 file1
=$
(git ls-files |
tail -n 2 |
head -1)
11 file2
=$
(git ls-files |
tail -n 1 |
head -1)
13 test_expect_success
"empty files, so they take no time to diff" "
18 test_perf
"diff --no-index" "
19 git diff --no-index $file1 $file2 >/dev/null