git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Martin Langhoff <martin@catalyst.net.nz>
To: Junio C Hamano <gitster@pobox.com>
Cc: Marc-Andre Lureau <marcandre.lureau@gmail.com>, git@vger.kernel.org
Subject: Re: [PATCH] git-cvsimport: fix initial checkout
Date: Fri, 14 Mar 2008 12:27:49 +1300	[thread overview]
Message-ID: <47D9B875.50305@catalyst.net.nz> (raw)
In-Reply-To: <7vr6eew70a.fsf@gitster.siamese.dyndns.org>

Junio C Hamano wrote:
> Martin, it may not even be in $git_dir/refs/heads/$last_branch ;-)  The
> refs can be packed.

Yes. I was suggesting git-ref-parse to support packed refs, but this
slipped ;-)

> By the way, doesn't cvsimport fail when your HEAD is detached with this
> code?

Perhaps. Importing on a working repo with -i is a bit messy, and
detached heads may well break it. I'm not that conversant on how
detached heads look ;-)

> I always have cvsimport update the pristine upstream branch and rebase my
> work against it, so I never have the branch cvsimport updates checked
> out, and  for meit seems to work wonderfully (well, at least as wonderful
> as a workflow that involves any CVS in it could be).  I do not see a
> reason why it should not to work similarly well when my HEAD is detached..

sounds reasonable.



m

-- 
-----------------------------------------------------------------------
Martin @ Catalyst .Net .NZ  Ltd, PO Box 11-053, Manners St,  Wellington
WEB: http://catalyst.net.nz/           PHYS: Level 2, 150-154 Willis St
NZ: +64(4)916-7224    MOB: +64(21)364-017    UK: 0845 868 5733 ext 7224
      Make things as simple as possible, but no simpler - Einstein
-----------------------------------------------------------------------

  reply	other threads:[~2008-03-13 23:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-13 19:09 [PATCH] git-cvsimport: fix initial checkout Marc-Andre Lureau
2008-03-13 21:05 ` Junio C Hamano
2008-03-13 22:18 ` Martin Langhoff
2008-03-13 23:04   ` Marc-André Lureau
2008-03-13 23:07     ` Marc-André Lureau
2008-03-13 23:29     ` Martin Langhoff
2008-03-13 23:15   ` Junio C Hamano
2008-03-13 23:27     ` Martin Langhoff [this message]
2008-03-13 23:22   ` Marc-André Lureau

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=47D9B875.50305@catalyst.net.nz \
    --to=martin@catalyst.net.nz \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=marcandre.lureau@gmail.com \
    /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).