mbox series

[v3,0/2] diff-files: integrate with sparse index

Message ID 20230309013314.119128-1-cheskaqiqi@gmail.com (mailing list archive)
Headers show
Series diff-files: integrate with sparse index | expand

Message

Shuqi Liang March 9, 2023, 1:33 a.m. UTC
Changes since v2:

1. According to Documentation/CodingGuidelines

 write 'echo test >"$1"'
 instead of 'echo test> $1'

2. Add a SP after "#" to make sentence more readable.

3. When file present on-disk without modifications, add
test to make sure not only the two output must
match, they both must be empty.

4. Remove the useless test for HEAD:testfile.

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 | 53 ++++++++++++++++++++++++
 3 files changed, 59 insertions(+)


base-commit: a38d39a4c50d1275833aba54c4dbdfce9e2e9ca1