mbox series

[v1,0/4] rm: integrate with sparse-index

Message ID 20220803045118.1243087-1-shaoxuan.yuan02@gmail.com (mailing list archive)
Headers show
Series rm: integrate with sparse-index | expand

Message

Shaoxuan Yuan Aug. 3, 2022, 4:51 a.m. UTC
Turn on sparse-index feature within `git-rm` command.
Add necessary modifications and test them.

Shaoxuan Yuan (4):
  t1092: add tests for `git-rm`
  pathspec.h: move pathspec_needs_expanded_index() from reset.c to here
  rm: expand the index only when necessary
  rm: integrate with sparse-index

 builtin/reset.c                          | 84 +---------------------
 builtin/rm.c                             |  7 +-
 pathspec.c                               | 89 ++++++++++++++++++++++++
 pathspec.h                               | 12 ++++
 t/perf/p2000-sparse-operations.sh        |  1 +
 t/t1092-sparse-checkout-compatibility.sh | 73 ++++++++++++++++++-
 6 files changed, 180 insertions(+), 86 deletions(-)


base-commit: 350dc9f0e8974b6fcbdeb3808186c5a79c3e7386