When using a repository with sparse checkout, running git stash -p will consider paths that are not sparsely checked-out as deleted. This behavior was seen in git version 2.33.0.windows.2
threads / bug / 56690
bug: git stash -p considers non sparsely checked-out paths deletions
Subject: bug: git stash -p considers non sparsely checked-out paths deletions