Message ID | 079598e4-47fa-671e-0d1d-cf82039d861f@web.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [1/3] t3905: show failure to ignore sub-repo | expand |
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
"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 <robert@gitpod.io> Signed-off-by: René Scharfe <l.s.r@web.de> --- t/t3905-stash-include-untracked.sh | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.33.0