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