diff options
author | Michael Smith <msmith@cbnco.com> | 2007-09-07 17:35:07 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-09-07 21:02:39 -0700 |
commit | ee834cf0c7de68557bc5c30552fce3e55f52e109 (patch) | |
tree | cf510ade82279568d0e9a13ae326b2ccd63556ff /git-cvsimport.perl | |
parent | Documentation / grammer nit (diff) | |
download | tgif-ee834cf0c7de68557bc5c30552fce3e55f52e109.tar.xz |
(cvs|svn)import: Ask git-tag to overwrite old tags.
If the tag was moved in CVS or SVN history, it will be moved in the
imported history as well. Tag history is not tracked.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-cvsimport.perl')
-rwxr-xr-x | git-cvsimport.perl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-cvsimport.perl b/git-cvsimport.perl index ba23eb8eeb..2954fb846e 100755 --- a/git-cvsimport.perl +++ b/git-cvsimport.perl @@ -779,7 +779,7 @@ sub commit { $xtag =~ tr/_/\./ if ( $opt_u ); $xtag =~ s/[\/]/$opt_s/g; - system('git-tag', $xtag, $cid) == 0 + system('git-tag', '-f', $xtag, $cid) == 0 or die "Cannot create tag $xtag: $!\n"; print "Created tag '$xtag' on '$branch'\n" if $opt_v; |