From: Christian Couder <chriscool@tuxfamily.org>
To: Jim Cromie <jim.cromie@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: feature request - telling git bisect to skip, from inside a commit
Date: Mon, 28 Mar 2011 06:03:16 +0200 [thread overview]
Message-ID: <201103280603.16256.chriscool@tuxfamily.org> (raw)
In-Reply-To: <AANLkTinCiM9uqK8Yr=pKaeKytWXqpWF898AeTwvHKg4-@mail.gmail.com>
Hi,
On Saturday 26 March 2011 19:48:25 Jim Cromie wrote:
> sometimes its feels clearer to devote a commit to changing (for example)
> the definition of a struct; and changing all users of that struct in
> the next commit.
> This isolates and highlights the definitional change, rather than burying
> it in the middle of a huge diff.
>
> The downside of doing this is that git bisect will trip over this 1/2
> change. It would be nice if a committer could mark the commit as not
> bisectable, perhaps by just adding this, on a separate line, to the
> commit-message:
>
> "git bisect skip [optional range]"
>
> the range presumably would be something like CURRENT^1
> except that it would make more sense to flag successors than ancestors,
> and of course, CURRENT would have to mean something.
>
> Anyway, range isnt really needed, as any subsequent interim commits
> could also flag themselves as such.
>
> git bisect already has ability to skip a commit, this just helps an
> automated bisection script.
Please look at this recent thread:
http://thread.gmane.org/gmane.comp.version-control.git/169026/
where there are other suggestions and discussions about how to deal with this
kind of problems.
Thanks,
Christian.
next prev parent reply other threads:[~2011-03-28 4:03 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-26 18:48 feature request - telling git bisect to skip, from inside a commit Jim Cromie
2011-03-28 4:03 ` Christian Couder [this message]
2011-03-28 16:31 ` Jeff King
2011-03-28 16:51 ` Junio C Hamano
2011-03-29 17:00 ` Jim Cromie
2011-03-29 18:23 ` Jeff King
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=201103280603.16256.chriscool@tuxfamily.org \
--to=chriscool@tuxfamily.org \
--cc=git@vger.kernel.org \
--cc=jim.cromie@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).