diff options
author | Andy Whitcroft <apw@shadowen.org> | 2007-05-30 01:56:41 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-06-06 02:35:49 -0700 |
commit | 8b7f5fc1cac8eb49b4846021706fc06ce074881b (patch) | |
tree | 7290136d0661ba714cae9ac1bfb3091c2ba363c7 /builtin-archive.c | |
parent | 6abd0fb396a0c575dafd4e1021d37d178740396c (diff) | |
download | git-8b7f5fc1cac8eb49b4846021706fc06ce074881b.tar.gz git-8b7f5fc1cac8eb49b4846021706fc06ce074881b.tar.xz |
cvsimport: add support for new style remote layout
cvsimport creates any branches found in the remote CVS repository
in the refs/heads namespace. This makes sense for a repository
conversion. When using git as a sane interface to a remote CVS
repository, that repository may well remain as the 'master'
respository. In this model it makes sense to import the CVS
repository into the refs/remotes namespace.
Add a new option '-r <remote>' to set the remote name for
this import. When this option is specified branches are named
refs/remotes/<remote>/branch, with HEAD named as master matching
git-clone separate remotes layout. Without branches are placed
ion refs/heads, with HEAD named origin as before.
Signed-off-by: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-archive.c')
0 files changed, 0 insertions, 0 deletions