From: Jan Wielemaker <wielemak@science.uva.nl>
To: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Cc: git@vger.kernel.org
Subject: Re: git-cvsserver commit trouble BUG+Work-around
Date: Thu, 4 Oct 2007 15:06:12 +0200 [thread overview]
Message-ID: <200710041506.13154.wielemak@science.uva.nl> (raw)
In-Reply-To: <Pine.LNX.4.64.0710041352480.4174@racer.site>
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
next prev parent reply other threads:[~2007-10-04 13:12 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-03 11:48 git-cvsserver commit trouble (unexpected end of file in client) Jan Wielemaker
2007-10-03 13:13 ` Jan Wielemaker
2007-10-03 14:57 ` Jan Wielemaker
2007-10-03 16:11 ` Johannes Schindelin
2007-10-03 18:42 ` Jan Wielemaker
2007-10-03 18:55 ` Johannes Schindelin
[not found] ` <200710032325.55128.wielemak@science.uva.nl>
[not found] ` <Pine.LNX.4.64.0710032311480.28395@racer.site>
2007-10-04 7:27 ` Jan Wielemaker
2007-10-04 11:18 ` git-cvsserver commit trouble BUG+Work-around Jan Wielemaker
2007-10-04 12:56 ` Johannes Schindelin
2007-10-04 13:06 ` Jan Wielemaker [this message]
2007-10-04 15:29 ` [PATCH/RFT] cvsserver: only allow checkout of branches Johannes Schindelin
2007-10-04 16:18 ` Frank Lichtenheld
2007-10-04 16:32 ` Johannes Schindelin
2007-10-04 17:06 ` Jan Wielemaker
2007-10-04 17:18 ` Johannes Schindelin
2007-10-04 18:04 ` Frank Lichtenheld
2007-10-04 21:15 ` Frank Lichtenheld
2007-10-04 21:49 ` Johannes Schindelin
2007-10-04 21:55 ` Shawn O. Pearce
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200710041506.13154.wielemak@science.uva.nl \
--to=wielemak@science.uva.nl \
--cc=Johannes.Schindelin@gmx.de \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).