Re: git-cvsserver commit trouble BUG+Work-around

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Dscho,

On Thursday 04 October 2007 14:56, Johannes Schindelin wrote:
> On Thu, 4 Oct 2007, Jan Wielemaker wrote:
> > Indeed, the trouble is here: git-cvsserver, near line 1203:
> >
> >     my $parenthash = `git show-ref -s refs/heads/$state->{module}`;
> >
> > $state->{module} is -of course- HEAD. git show-ref -s refs/heads/HEAD
> > indeed gives no output. git show-ref -s refs/heads/master works just
> > fine.
>
> Ah!  Did you do "CVSROOT=:ext:blablub cvs co HEAD"?

Yip ...

> You should "co master".  The branches in git are the modules in cvs.
>
> HEAD is too volatile, you cannot make a proper module from it (imagine for
> example "git checkout next" where "next" is a branch, followed by "git
> checkout html", where "html" is another branch).

Ok.  Pretty sure I got literal HEAD from one of the examples somewhere ...
Or, I've been blind all along.  Anyway, the maintainer may consider giving
an error when trying to access HEAD as a module.  Would have saved about
2 days work and its unlikely I'm the last victim :-(

Part of the two days is that during all the things I tried somehow
messed up with master too, so the one time I tried that it failed as
well :-(

Anyway, case closed.  On with the testing ...

	Thanks --- Jan


-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux