]> git.99rst.org Git - git.git/commit
stash: add tests to ensure reflog --rewrite --updatref behavior
authorJohn Cai <redacted>
Wed, 2 Mar 2022 22:27:22 +0000 (22:27 +0000)
committerJunio C Hamano <redacted>
Wed, 2 Mar 2022 23:24:46 +0000 (15:24 -0800)
commit76bccbcfe2ff0d75302b0bf98b82aba95f8fc937
tree6a532617cd6ef330388f98fbda302f2d1cc0e938
parent715d08a9e51251ad8290b181b6ac3b9e1f9719d7
stash: add tests to ensure reflog --rewrite --updatref behavior

There is missing test coverage to ensure that the resulting reflogs
after a git stash drop has had its old oid rewritten if applicable, and
if the refs/stash has been updated if applicable.

Add two tests that verify both of these happen.

Helped-by: Ævar Arnfjörð Bjarmason <redacted>
Signed-off-by: John Cai <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t3903-stash.sh
git clone https://git.99rst.org/PROJECT