All of lore.kernel.org
 help / color / mirror / Atom feed
From: Avery Pennarun <apenwarr@gmail.com>
To: Junio C Hamano <gitster@pobox.com>
Cc: Pierre Habouzit <madcoder@madism.org>, Git ML <git@vger.kernel.org>
Subject: Re: fixing workdirs
Date: Thu, 8 Jul 2010 15:56:51 -0400	[thread overview]
Message-ID: <AANLkTil1jhqfg-WsTq6g7tMhavG_CzJf01CBzXnd_nBx@mail.gmail.com> (raw)
In-Reply-To: <7v7hl5pxt0.fsf@alter.siamese.dyndns.org>

On Thu, Jul 8, 2010 at 3:40 PM, Junio C Hamano <gitster@pobox.com> wrote:
> Pierre Habouzit <madcoder@madism.org> writes:
>> ... git checkout would check that no other workdir is currently "on
>> the same branch", and would refuse to checkout to a branch that is
>> already checkouted elsewhere.
>
> I am personally fine with this, but if there is no way to override this
> refusal it may break some people's existing workflow.  I dunno.

Perhaps it would be better to refuse to *update* a particular ref if
some other worktree has it checked out?  I don't think actually having
multiple trees checked out to the same branch is a problem, so much as
what happens when they start committing.

Have fun,

Avery

  reply	other threads:[~2010-07-08 20:03 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-08 11:08 fixing workdirs Pierre Habouzit
2010-07-08 18:37 ` Tait
2010-07-08 18:56   ` Joshua Jensen
2010-07-09  7:49   ` Pierre Habouzit
2010-07-08 19:40 ` Junio C Hamano
2010-07-08 19:56   ` Avery Pennarun [this message]
2010-07-09  7:56   ` Pierre Habouzit
2010-07-09 22:25     ` Junio C Hamano
2010-07-19  9:02       ` Pierre Habouzit
2010-08-17 18:34 ` Jan Hudec

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=AANLkTil1jhqfg-WsTq6g7tMhavG_CzJf01CBzXnd_nBx@mail.gmail.com \
    --to=apenwarr@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=madcoder@madism.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.