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

Elijah Newren <[email protected]>
Newsgroups org.kernel.vger.git
Message-ID <CABPp-BHoxLkYJmoJ1N5owJ5-S+yr-4JkuectxSVG8oa6PESkWA@mail.gmail.com>
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)

?

The actual substance of the patch looks good.
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.