]> git.99rst.org Git - git.git/commitdiff
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)
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

1  2 
t/t1092-sparse-checkout-compatibility.sh

git clone https://git.99rst.org/PROJECT