Jim Cromie
2011-03-26 18:48:25 UTC
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.
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.