Re: git-cvsserver commit trouble BUG+Work-around
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Oct 4, 2007, 12:56 UTC
- Message-ID
- <Pine.LNX.4.64.0710041352480.4174@racer.site>
- In-Reply-To
- <46823.146.50.26.20.1191496739.squirrel@webmail.science.uva.nl>
Hi,
On Thu, 4 Oct 2007, Jan Wielemaker wrote:
Show 7 quoted lines
> 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"?
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).
Ciao, Dscho