Patching bad commits
- From
Michael Witten <mfwitten@gmail.com>
- Date
- Jun 28, 2010, 22:03 UTC
- Message-ID
- <4c291e41.4f1ee30a.3484.fffff729@mx.google.com>
Sometimes bisecting is less than useful because a number of commits fail to build.
How about implementing something SIMILAR to "git notes" (perhaps even using "git notes") to store and apply patches for such bad commits?
For instance, bisecting could transparently apply any patches that are necessary to make a bad commit actually buildable; such patches could be distributed as usual for the benefit of others.
I'm thinking that a "patch note" could have 2 forms:
* A plain patch file (or maybe a git tree of patches).
* A reference to another commit that should be checked
out instead.Is this a worthwhile idea?
Sincerely, Michael Witten