Changes since v4: 1. In 'diff-files with pathspec inside sparse definition' ' Add some extra space to make test more readable. 2.In 'diff-files with pathspec outside sparse definition' ' (1) Remove redundant tests since output from checkout and index are known to be identical. (2) Add test to check sparse-checkout-err (sparse-index-err) is empty. (3) Add test to test the actual output for 'file present on-disk with modifications'. Shuqi Liang (2): t1092: add tests for `git diff-files` diff-files: integrate with sparse index builtin/diff-files.c | 4 ++ t/perf/p2000-sparse-operations.sh | 2 + t/t1092-sparse-checkout-compatibility.sh | 61 ++++++++++++++++++++++++ 3 files changed, 67 insertions(+) base-commit: a38d39a4c50d1275833aba54c4dbdfce9e2e9ca1 -- 2.39.0