filter-branch: be more helpful when an annotated tag changes
authorThomas Rast <trast@student.ethz.ch>
Thu, 7 Aug 2008 23:50:31 +0000 (01:50 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 8 Aug 2008 23:19:51 +0000 (16:19 -0700)
commit261044e85ddac3de48dc74dd9c416c95147022ad
treef1d605edbe9b7cc93b391c925d9c4b3c697cf0bc
parent8afa42101d14f8944c1eb7f2e54d4f5300d2bb73
filter-branch: be more helpful when an annotated tag changes

Previously, git-filter-branch failed if it attempted to update an
annotated tag.  Now we ignore this condition if --tag-name-filter is
given, so that we can later rewrite the tag.  If no such option was
provided, we warn the user that he might want to run with
"--tag-name-filter cat" to achieve the intended effect.

Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-filter-branch.sh