Reuse previous annotation when overwriting a tag
commitbab8118aff7581364eb5c74472fe7ab4f45f4a12
authorMike Hommey <mh@glandium.org>
Sun, 4 Nov 2007 00:11:14 +0000 (4 01:11 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 6 Nov 2007 06:47:43 +0000 (5 22:47 -0800)
treead15da77d040e9fe012ff360cc6e429c63dc7464
parentfe61935007b6803ce116e233316e4ff51de02be6
Reuse previous annotation when overwriting a tag

When forcing to overwrite an annotated tag, there are good chances one
wants to keep the old annotation, or modify it, not start from scratch.

This is obviously only triggered for annotated tagging (-a or -s).

Signed-off-by: Mike Hommey <mh@glandium.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-tag.c