author | Paolo Bonzini <paolo.bonzini@lu.unisi.ch> | |
Wed, 7 Mar 2007 09:43:41 +0000 (10:43 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 7 Mar 2007 18:30:22 +0000 (10:30 -0800) | ||
commit | d9cb5399ee6e3ca4b3190f158ada7bd3802b3c70 | |
tree | 56b1ff2a0a4aff08fac8be9f6ea8f2da794deb49 | tree | snapshot |
parent | e3d842cf12f6ef6d155ef578957cf98d93abe09a | commit | diff |
git-archimport: allow remapping branch names
This patch adds support to archimport for remapping the branch
names to match those used in git more closely. This is useful
for projects that migrate to git (as opposed to users that want
to use git on Arch-based projects). For example, one can choose
an Arch branch name and call it "master".
The new command-line syntax works even if there is a colon in
a branch name, since only the part after the last colon is taken
to be the git name (git does not allow colons in branch names).
The new feature is implemented so that archives rotated every
year can also be remapped into a single git archive.
Signed-off-by: Paolo Bonzini <bonzini@gnu.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This patch adds support to archimport for remapping the branch
names to match those used in git more closely. This is useful
for projects that migrate to git (as opposed to users that want
to use git on Arch-based projects). For example, one can choose
an Arch branch name and call it "master".
The new command-line syntax works even if there is a colon in
a branch name, since only the part after the last colon is taken
to be the git name (git does not allow colons in branch names).
The new feature is implemented so that archives rotated every
year can also be remapped into a single git archive.
Signed-off-by: Paolo Bonzini <bonzini@gnu.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-archimport.txt | diff | blob | history | |
git-archimport.perl | diff | blob | history |