diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2018-07-31 13:07:13 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-07-31 09:25:25 -0700 |
commit | 380efb65df09666a1999c0e36513a3076481b83a (patch) | |
tree | b48a5fafce65d5fcd7498aac7410044f7f470652 /Documentation/git-checkout.txt | |
parent | push tests: add more testing for forced tag pushing (diff) | |
download | tgif-380efb65df09666a1999c0e36513a3076481b83a.tar.xz |
push tests: assert re-pushing annotated tags
Change the test that asserts that lightweight tags can only be
clobbered by a force-push to check do the same tests for annotated
tags.
There used to be less exhaustive tests for this with the code added in
40eff17999 ("push: require force for annotated tags", 2012-11-29), but
Junio removed them in 256b9d70a4 ("push: fix "refs/tags/ hierarchy
cannot be updated without --force"", 2013-01-16) while fixing some of
the behavior around tag pushing.
That change left us without any coverage asserting that pushing and
clobbering annotated tags worked as intended. There was no reason to
suspect that the receive machinery wouldn't behave the same way with
annotated tags, but now we know for sure.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-checkout.txt')
0 files changed, 0 insertions, 0 deletions