summaryrefslogtreecommitdiff
path: root/compat
diff options
context:
space:
mode:
authorLibravatar Chris Rorvick <chris@rorvick.com>2012-11-29 19:41:38 -0600
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-12-02 01:44:49 -0800
commit40eff1799983b958d6dbe09fb499ad505bcf6f8d (patch)
tree0de96f181ffa8de1990f42305a4ad4f0bbc11f02 /compat
parentpush: require force for refs under refs/tags/ (diff)
downloadtgif-40eff1799983b958d6dbe09fb499ad505bcf6f8d.tar.xz
push: require force for annotated tags
Do not allow fast-forwarding of references that point to a tag object. Updating from a tag is potentially destructive since it would likely leave the tag dangling. Disallowing updates to a tag also makes sense semantically and is consistent with the behavior of lightweight tags. Signed-off-by: Chris Rorvick <chris@rorvick.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat')
0 files changed, 0 insertions, 0 deletions