All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Turner <dturner@twopensource.com>
To: Junio C Hamano <gitster@pobox.com>
Cc: Christian Couder <christian.couder@gmail.com>, git <git@vger.kernel.org>
Subject: Re: What's cooking in git.git (Aug 2015, #05; Fri, 28)
Date: Mon, 31 Aug 2015 14:30:35 -0400	[thread overview]
Message-ID: <1441045835.25570.7.camel@twopensource.com> (raw)
In-Reply-To: <xmqqzj17y16t.fsf@gitster.mtv.corp.google.com>

On Mon, 2015-08-31 at 07:36 -0700, Junio C Hamano wrote:
> Christian Couder <christian.couder@gmail.com> writes:
> 
> >> * dt/refs-bisection (2015-08-28) 5 commits
> >>  - bisect: make bisection refs per-worktree
> >>  - refs: make refs/worktree/* per-worktree
> >>  - SQUASH???
> >>  - path: optimize common dir checking
> >>  - refs: clean up common_list
> >>
> >>  Move the refs used during a "git bisect" session to per-worktree
> >>  hierarchy refs/worktree/* so that independent bisect sessions can
> >>  be done in different worktrees.
> >>
> >>  Will merge to 'next' after squashing the update in.
> >
> > Sorry if I am missing something or repeating what myself or someone
> > else like Michael already said, but in the current doc there is:
> >
> >        Eventually there will be no more revisions left to bisect, and
> > you will have been left with the first bad kernel revision in
> >        "refs/bisect/bad".
> >
> > If we now just use "refs/worktree/bisect/bad" instead of
> > "refs/bisect/bad", it might break scripts that rely using
> > "refs/bisect/bad".
> 
> Christian, thanks for raising this one.
> 
> I do recall the thread and I might be the somebody like Michael you
> remember, e.g. $gmane/275105---which did mention that "git bisect"
> would not need changing if we kept refs/bisect/.
> 
> What was the reason why we chose to move to refs/worktree/ again?  I
> do not think there was an issue that we cannot keep refs/* in
> general shared while having one (or more) subhierarchy of it per
> worktree (otherwise we would not be using refs/worktree/*, but using
> something outside refs/, like $GIT_DIR/worktree-refs/).  Was there an
> objection to refs/bisect being private from aesthetics point of view
> (i.e. forcing everything per-worktree in refs/worktree/ would prevent
> proliferation of refs/this and refs/that that need to be private
> case by case), ignoring the practical issue of compatibility issues
> around existing tools?

That is correct.  IIRC, on one of these patch sets, I proposed accepting
both new and old refs, but you said that would be unnecessary (it might
have been the notes/merge one instead of this one).

> I think one example of script, "gitk --bisect", does want to show
> the DAG limited by bisect refs, but it does so using plumbing
> without having to say refs/bisect/bad itself.  Perhaps the thinking
> (or lack of enough of it) went that no other uses by scripts need to
> peek directly into refs/bisect/ hierarchy?

I did a quick search on github, and did not see any scripts that said
"refs/bisect".

  reply	other threads:[~2015-08-31 18:30 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-28 21:11 What's cooking in git.git (Aug 2015, #05; Fri, 28) Junio C Hamano
2015-08-28 21:26 ` Eric Sunshine
2015-08-29  4:15 ` Christian Couder
2015-08-31 14:36   ` Junio C Hamano
2015-08-31 18:30     ` David Turner [this message]
2015-08-31 20:06       ` Junio C Hamano
2015-08-31 20:12         ` Christian Couder
2015-08-31  7:36 ` [PUB]What's " Matthieu Moy
2015-08-31  7:48   ` Christian Couder
2015-08-31 15:21   ` Junio C Hamano
2015-08-31 17:16     ` Matthieu Moy

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=1441045835.25570.7.camel@twopensource.com \
    --to=dturner@twopensource.com \
    --cc=christian.couder@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.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 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.