diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-10-19 01:47:58 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-10-19 01:47:58 +0300 |
commit | a86ed75f32a38d3496fedb2be52816aa36472db1 (patch) | |
tree | 2929ee2bf1e3d5ef06d832b0a196703a709dfc87 /t/t3905-stash-include-untracked.sh | |
parent | 092228ee5c20da1725330c037d84433a7976dc21 (diff) | |
parent | c8ad9d04c6a51cb5c73ebc9e42b627314eeafe2f (diff) |
Merge branch 'rs/make-verify-path-really-verify-again'
Recent sparse-index work broke safety against attempts to add paths
with trailing slashes to the index, which has been corrected.
* rs/make-verify-path-really-verify-again:
read-cache: let verify_path() reject trailing dir separators again
read-cache: add verify_path_internal()
t3905: show failure to ignore sub-repo
Diffstat (limited to 't/t3905-stash-include-untracked.sh')
-rwxr-xr-x | t/t3905-stash-include-untracked.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/t/t3905-stash-include-untracked.sh b/t/t3905-stash-include-untracked.sh index dd2cdcc114..5390eec4e3 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_success 'stash -u ignores sub-repository' ' + test_when_finished "rm -rf sub-repo" && + git init sub-repo && + git stash -u +' + test_done |