OSDN Git Service

Merge branch 'aw/cvs'
authorJunio C Hamano <gitster@pobox.com>
Wed, 13 Jun 2007 04:04:52 +0000 (21:04 -0700)
committerJunio 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

1  2 
Documentation/git-cvsimport.txt
git-cvsimport.perl

Simple merge
@@@ -520,9 -528,9 +528,9 @@@ sub is_sha1 
  
  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): $!";