author | Junio C Hamano <gitster@pobox.com> | |
Wed, 13 Jun 2007 04:04:52 +0000 (21:04 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 13 Jun 2007 04:04:52 +0000 (21:04 -0700) |
* aw/cvs:
cvsimport: add <remote>/HEAD reference in separate remotes more
cvsimport: update documentation to include separate remotes option
cvsimport: add support for new style remote layout
cvsimport: add <remote>/HEAD reference in separate remotes more
cvsimport: update documentation to include separate remotes option
cvsimport: add support for new style remote layout
1 | 2 | |||
---|---|---|---|---|
Documentation/git-cvsimport.txt | patch | | diff1 | | diff2 | | blob | history |
git-cvsimport.perl | patch | | diff1 | | diff2 | | blob | history |
diff --cc Documentation/git-cvsimport.txt
Simple merge
diff --cc git-cvsimport.perl
index 75d65d414eca55970cb6ad3d3fe89c3a73f3c741,598b9c8da9f0e8eecac3d9ec13a1431b0466854e..433b7fd3246cf1ab29f3d74befbf6db5adfc8d2c
--- 1/git-cvsimport.perl
--- 2/git-cvsimport.perl
+++ b/git-cvsimport.perl
sub get_headref ($$) {
my $name = shift;
- my $git_dir = shift;
-
+ my $git_dir = shift;
+
- my $f = "$git_dir/refs/heads/$name";
+ my $f = "$git_dir/$remote/$name";
if (open(my $fh, $f)) {
chomp(my $r = <$fh>);
is_sha1($r) or die "Cannot get head id for $name ($r): $!";