From: René Scharfe Date: Thu, 07 Oct 2021 20:31:01 GMT Subject: [PATCH 1/3] t3905: show failure to ignore sub-repo Message-ID: <079598e4-47fa-671e-0d1d-cf82039d861f@web.de> In-Reply-To: "git stash" used to ignore sub-repositories until 6e773527b6 (sparse-index: convert from full to sparse, 2021-03-30). Add a test that demonstrates this regression. Reported-by: Robert Leftwich Signed-off-by: René Scharfe --- t/t3905-stash-include-untracked.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/t/t3905-stash-include-untracked.sh b/t/t3905-stash-include-untracked.sh index dd2cdcc114..19da46b7fb 100755 --- a/t/t3905-stash-include-untracked.sh +++ b/t/t3905-stash-include-untracked.sh @@ -422,4 +422,10 @@ test_expect_success 'stash show --{include,only}-untracked on stashes without un test_must_be_empty actual ' +test_expect_failure 'stash -u ignores sub-repository' ' + test_when_finished "rm -rf sub-repo" && + git init sub-repo && + git stash -u +' + test_done -- 2.33.0