From: Shuqi Liang <cheskaqiqi@gmail.com>
To: git@vger.kernel.org
Cc: Shuqi Liang <cheskaqiqi@gmail.com>,
vdye@github.com, derrickstolee@github.com
Subject: [PATCH v2 0/2] diff-files: integrate with sparse index
Date: Tue, 7 Mar 2023 01:45:04 -0500 [thread overview]
Message-ID: <20230307064506.76663-1-cheskaqiqi@gmail.com> (raw)
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 reply other threads:[~2023-03-07 6:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-07 6:45 Shuqi Liang [this message]
2023-03-07 6:45 ` [PATCH v2 1/2] t1092: add tests for `git diff-files` Shuqi Liang
2023-03-07 6:45 ` [PATCH v2 2/2] diff-files: integrate with sparse index Shuqi Liang
-- strict thread matches above, loose matches on Subject: below --
2023-03-04 2:57 [RFC][PATCH] t1092: add tests for `git diff-files` Shuqi Liang
2023-03-07 6:58 ` [PATCH v2 0/2] diff-files: integrate with sparse index Shuqi Liang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230307064506.76663-1-cheskaqiqi@gmail.com \
--to=cheskaqiqi@gmail.com \
--cc=derrickstolee@github.com \
--cc=git@vger.kernel.org \
--cc=vdye@github.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).