Re: [PATCH v2 07/12] fast-import: introduce 'struct fast_import_state'

Christian Couder <[email protected]>
Newsgroups org.kernel.vger.git
Message-ID <CAP8UFD1V1LA6E8BhuZwn2WaAiidHgZVUkRA4LO_8pMUrsWFu1Q@mail.gmail.com>
On Sat, Aug 8, 2026 at 9:25 AM Elijah Newren <[email protected]> wrote:
>
> On Tue, Aug 4, 2026 at 3:04 AM Christian Couder
> <[email protected]> wrote:
> >
>
> > -static void note_change_n(const char *p, struct branch *b, unsigned char *old_fanout)
> > +static void note_change_n(struct fast_import_state *state, const char *p, struct branch *b, unsigned char *old_fanout)
>
> A really minor comment, but you've taken several lines (some of which
> were already too long) and made them much too long.  This wasn't the
> first or the last, but at 118 columns it was particularly far from the
> 80 characters per line guideline.  Could we change to
>
> static void note_change_n(struct fast_import_state *state,
>               const char *p,
>               struct branch *b,
>               unsigned char *old_fanout)
>
> ?

Yes, in v3 I have changed such lines that are modified by the patch to
what you suggest.

> The actual substance of the patch looks good.

Thanks.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.