From: Junio C Hamano Date: Thu, 23 Jul 2026 17:33:52 +0000 (-0700) Subject: Merge branch 'tn/stash-avoid-sparse-index-expansion' into next X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8ccf28493eebea9648eba9a2d928f1212ef92762;p=thirdparty%2Fgit.git Merge branch 'tn/stash-avoid-sparse-index-expansion' into next 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 --- 8ccf28493eebea9648eba9a2d928f1212ef92762