git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH v2 0/2] diff-files: integrate with sparse index

From
Shuqi Liang <cheskaqiqi@gmail.com>
Date
Mar 7, 2023, 06:45 UTC
Message-ID
<20230307064506.76663-1-cheskaqiqi@gmail.com>

Turn on sparse-index feature within `git diff-files` command. Add necessary modifications and test them.

Changes since v1:

1.Add an empty line between the previous test's closing quote and the start of new test.

2.Use "git add --sparse newdirectory/testfile" instead of 'git sparse-checkout set' to have staged changes outside of the sparse-checkout cone

3.Edit commit message to be more informative
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 | 52 ++++++++++++++++++++++++
 3 files changed, 58 insertions(+)
base-commit: a38d39a4c50d1275833aba54c4dbdfce9e2e9ca1
-- 
2.39.0
Next: Shuqi Liang
Message 1 of 3 in “diff-files: integrate with sparse index”
  1. 0/2 diff-files: integrate with sparse indexShuqi Liang, Mar 7, 2023
  2. 1/2 t1092: add tests for `git diff-files`Shuqi Liang, Mar 7, 2023
  3. 2/2 diff-files: integrate with sparse indexShuqi Liang, Mar 7, 2023

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.