Re: [WIP/PATCH v4 8/8] ref-filter: add 'ref-filter.h'
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- May 31, 2015, 20:46 UTC
- Message-ID
- <vpqlhg4jx0d.fsf@anie.imag.fr>
- In-Reply-To
- <556AC40C.5020205@gmail.com>
Karthik Nayak <karthik.188@gmail.com> writes:
> That is kind of a problem, If I need to swap those commits also, I'd > have to add the part where ref-filter is added to the Makefile with > the code movement from for-each-ref to ref-filter. This again will not > just be Code movement.
You can have a preparatory patch that adds ref-filter.c containing just "#include ref-filter.h" and ref-filter.h with proper content. After this preparatory patch, you're in a rather silly situation because you have an almost empty .c file, but it's still passing all tests and compileable.
Then, the next patch can be just code movement.
-- Matthieu Moy http://www-verimag.imag.fr/~moy/