git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Marking commits as transitory for git bisect?
@ 2009-12-02  9:32 David Kastrup
  2009-12-02 10:44 ` Michael J Gruber
  0 siblings, 1 reply; 4+ messages in thread
From: David Kastrup @ 2009-12-02  9:32 UTC (permalink / raw)
  To: git


Hi,

sometimes there are changes which would seem better to restructure into
more than one commit, with a non-operative intermediate state.

What I am thinking of is something like

a) change an API (small but highly intricate patch warranting thorough
   line-by-line review to make sure it's fine)
b) adapt all existing callers (really large but utterly trivial patch)

Substructuring this change into two commits may be quite nicer for
reviewing and following it.

Except that it breaks git bisect.  If there was a way to mark a commit
as non-interesting, something which does not necessarily need any new
repo features but just a convention like automatically skipping commits
that contain the literal string [skip bisect] in the commit message,
that would be one way to implement basic functionality like that.

A more thorough approach might also warn against partial cherrypicks or
rebases or merges applying just part of one such a combined change.

But the main point is the ability to keep git bisect working on commit
combinations with deliberately non-operative transitory stage.

-- 
David Kastrup

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-12-02 16:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-02  9:32 Marking commits as transitory for git bisect? David Kastrup
2009-12-02 10:44 ` Michael J Gruber
2009-12-02 11:01   ` David Kastrup
2009-12-02 16:49     ` Junio C Hamano

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).