]> git.99rst.org Git - git.git/commit
Merge branch 'tn/stash-avoid-sparse-index-expansion'
authorJunio C Hamano <redacted>
Thu, 30 Jul 2026 17:32:03 +0000 (10:32 -0700)
committerJunio C Hamano <redacted>
Thu, 30 Jul 2026 17:32:03 +0000 (10:32 -0700)
commit50f7f93213d623294ea5b4c8981437a81a97e289
tree210da3c4c4e18dde9f675e252c58209ed6fd054a
parentda12976c7754b1de42c6fbe0e00fb8f77dce00ec
parent1be6ebe264031dc2175fec50c36df25fafd25084
Merge branch 'tn/stash-avoid-sparse-index-expansion'

The 'git stash push' command has been optimized to avoid unnecessary
sparse index expansion when pathspecs are wholly inside the
sparse-checkout cone.  Also, a potential out-of-bounds read in the
sparse-index expansion check helper pathspec_needs_expanded_index()
has been fixed by consistently using the parsed, prefixed path.

* tn/stash-avoid-sparse-index-expansion:
  stash: avoid sparse-index expansion for in-cone paths
  pathspec: use match for sparse-index expansion checks
t/t1092-sparse-checkout-compatibility.sh
git clone https://git.99rst.org/PROJECT