aboutsummaryrefslogtreecommitdiffstats
path: root/commit.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2025-10-27 12:33:57 +0100
committerJunio C Hamano <gitster@pobox.com>2025-11-05 13:47:45 -0800
commitf9806482e54fcacf0c18d695c653d4c62ffe3f4f (patch)
tree14b937cd753481175c15b966b9bf76c8323c352c /commit.c
parentadd-patch: remove dependency on "add-interactive" subsystem (diff)
downloadgit-f9806482e54fcacf0c18d695c653d4c62ffe3f4f.tar.gz
git-f9806482e54fcacf0c18d695c653d4c62ffe3f4f.zip
add-patch: add support for in-memory index patching
With `run_add_p()` callers have the ability to apply changes from a specific revision to a repository's index. This infra supports several different modes, like for example applying changes to the index, working tree or both. One feature that is missing though is the ability to apply changes to an in-memory index different from the repository's index. Add a new function `run_add_p_index()` to plug this gap. This new function will be used in a subsequent commit. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions