summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3292ae4)
raw | patch | inline | side by side (parent: 3292ae4)
author | Martin Langhoff <martin@catalyst.net.nz> | |
Sun, 4 Sep 2005 10:55:29 +0000 (22:55 +1200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 4 Sep 2005 17:28:43 +0000 (10:28 -0700) |
Arch tags are full commits (without any changed files) as well. Trust Arch
to have put an unchanged tree in place (which seems to do reliably), and
just add a tag & new branch. Speeds up Arch imports significantly, and leaves
history in a much saner state.
Signed-off-by: Martin Langhoff <martin@catalyst.net.nz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
to have put an unchanged tree in place (which seems to do reliably), and
just add a tag & new branch. Speeds up Arch imports significantly, and leaves
history in a much saner state.
Signed-off-by: Martin Langhoff <martin@catalyst.net.nz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-archimport-script | patch | blob | history |
diff --git a/git-archimport-script b/git-archimport-script
index 3c8aab74be49fd69a23ad140b8f8b5bb12fa13b2..8f475fd66da3c09a4f6a0f8ecdc708334d861ae1 100755 (executable)
--- a/git-archimport-script
+++ b/git-archimport-script
# 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 $?;
}