Re: skipping commits via commit-msg contents
- From
Ramkumar Ramachandra <artagnon@gmail.com>
- Date
- Jul 12, 2010, 18:35 UTC
- Message-ID
- <20100712183518.GE17630@debian>
- In-Reply-To
- <AANLkTikYcODU96J-cVYCIad1yrd5zGklVj2OV4UT2PxC@mail.gmail.com>
Hi Jim,
Jim Cromie writes:
Show 10 quoted lines
> sometimes its desirable to commit incomplete work separately, > for example a struct change thats intended to get compiler to report > where changes are needed. > > if git bisect were to recognize --skip-bisect in the subject line > (or in commit-message somewhere, say top or bottom), > then bisection could proceed silently past such commits. > > This would also allow rebasing a patchset to markup crappy commits > which need further work.
This is perhaps not exactly what you want, but I thought I'd mention it anyway: I usually prefix commit messages of temporary commits with a "fixup! " or "squash! " and then use the `--autosquash` feature of `git rebase --interactive` in a new branch before running `git bisect`.
-- Ram