Re: [PATCH 00/40] test whitespace - perform trivial whitespace clean ups of test scripts.
- From
Jon Seymour <jon.seymour@gmail.com>
- Date
- Aug 6, 2011, 09:03 UTC
- Message-ID
- <CAH3Anro-Qi5c5ojiudqctCcuaN5SPO=YcAEbcfO06DhsObDdgg@mail.gmail.com>
- In-Reply-To
- <1312620119-18369-1-git-send-email-jon.seymour@gmail.com>
On Sat, Aug 6, 2011 at 6:41 PM, Jon Seymour <jon.seymour@gmail.com> wrote:
> >...
One can imagine generalising test-cleaner.sh to things that aren't tests.
So, something like:
git whitespace-cleaner --test "make test" *.c *.h
would do whitespace cleaning on all .c and .h files and then use a bisection process to find the edits that cause a break in the test suite. Then rewrite the history and iterate the process to find the maximal series of whitespace fixups that does not break the test suite.
jon.