[PATCH] archimport: avoid committing on an Arch tag
[gitweb.git] / git-archimport-script
index 3c8aab74be49fd69a23ad140b8f8b5bb12fa13b2..8f475fd66da3c09a4f6a0f8ecdc708334d861ae1 100755 (executable)
@@ -227,6 +227,14 @@ foreach my $ps (@psets) {
             
             # find where we are supposed to branch from
             `git checkout -b $ps->{branch} $branchpoint`;
+
+            # If we trust Arch with the fact that this is just 
+            # a tag, and it does not affect the state of the tree
+            # then we just tag and move on
+            tag($ps->{id}, $branchpoint);
+            ptag($ps->{id}, $branchpoint);
+            print " * Tagged $ps->{id} at $branchpoint\n";
+            next;
         } 
         die $! if $?;
     }