Re: [PATCH v2 00/10] port branch.c to use ref-filter's printing options
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Oct 11, 2015, 19:32 UTC
- Message-ID
- <vpqlhb9yzeg.fsf@grenoble-inp.fr>
- In-Reply-To
- <CAOLa=ZTjuuO_TmdynQvJGVtQHZokwDpqZLUOWgCx-_UO=JKvvw@mail.gmail.com>
Karthik Nayak <karthik.188@gmail.com> writes:
Show 12 quoted lines
> On Sun, Oct 11, 2015 at 9:51 PM, Matthieu Moy > <Matthieu.Moy@grenoble-inp.fr> wrote: >> Karthik Nayak <karthik.188@gmail.com> writes: >> >>> Also does it make sense to integrate these changes here? Or would you like to >>> have another series on this? >> >> To me, the important in this series is to avoid introducing duplicated >> and inconsistent code, because it would make further refactoring harder. >> > > Would you suggest duplicating whats done with %(align) here?
I think introducing a function to split according to commas and remove commas would make sense, but I won't insist on that. Mimicking what's done with %(align) is acceptable to me: we'll have several instances of the same pattern, not ideal but easy enough to refactor later. Especially if you actually plan to work on that :-).
-- Matthieu Moy http://www-verimag.imag.fr/~moy/