aboutsummaryrefslogtreecommitdiff
path: root/git-svnimport.perl
diff options
context:
space:
mode:
authorMichael Smith <msmith@cbnco.com>2007-09-07 17:35:07 -0400
committerJunio C Hamano <gitster@pobox.com>2007-09-07 21:02:39 -0700
commitee834cf0c7de68557bc5c30552fce3e55f52e109 (patch)
treecf510ade82279568d0e9a13ae326b2ccd63556ff /git-svnimport.perl
parent451e593181c554b06f1ce292b4233d396a355753 (diff)
downloadgit-ee834cf0c7de68557bc5c30552fce3e55f52e109.tar.gz
git-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-svnimport.perl')
-rwxr-xr-xgit-svnimport.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-svnimport.perl b/git-svnimport.perl
index 8c17fb5ae..d3ad5b904 100755
--- a/git-svnimport.perl
+++ b/git-svnimport.perl
@@ -873,7 +873,7 @@ sub commit {
$dest =~ tr/_/\./ if $opt_u;
- system('git-tag', $dest, $cid) == 0
+ system('git-tag', '-f', $dest, $cid) == 0
or die "Cannot create tag $dest: $!\n";
print "Created tag '$dest' on '$branch'\n" if $opt_v;