From: Junio C Hamano <gitster@pobox.com>
To: Lucas Seiki Oshiro <lucasseikioshiro@gmail.com>
Cc: git@vger.kernel.org, ps@pks.im, karthik.188@gmail.com
Subject: Re: [GSoC PATCH v4 0/2] repo: add -z and objects.format
Date: Thu, 04 Sep 2025 11:40:02 -0700 [thread overview]
Message-ID: <xmqq5xdy83jx.fsf@gitster.g> (raw)
In-Reply-To: <20250904134017.47364-1-lucasseikioshiro@gmail.com> (Lucas Seiki Oshiro's message of "Thu, 4 Sep 2025 10:40:15 -0300")
Lucas Seiki Oshiro <lucasseikioshiro@gmail.com> writes:
> This v4 fixes two codestyle issues:
>
> - Break line before opening a brace
> - Add spaces surrounding a `|`
Looks good. THese are the only things
$ git clang-format --diff HEAD~2 HEAD
reports on the version that has been in my tree.
Will queue; let's mark it for 'next'.
>
> Here's the range-diff versus v3:
>
> 1: 0323f1fa75 ! 1: 19c84e1a48 repo: add the flag -z as an alias for --format=nul
> @@ builtin/repo.c: static int print_fields(int argc, const char **argv,
> }
>
> +static int parse_format_cb(const struct option *opt,
> -+ const char *arg, int unset UNUSED) {
> ++ const char *arg, int unset UNUSED)
> ++{
> + enum output_format *format = opt->value;
> +
> + if (opt->short_name == 'z')
> @@ builtin/repo.c: static int print_fields(int argc, const char **argv,
> + PARSE_OPT_NONEG, parse_format_cb),
> + OPT_CALLBACK_F('z', NULL, &format, NULL,
> + N_("synonym for --format=nul"),
> -+ PARSE_OPT_NONEG|PARSE_OPT_NOARG,
> ++ PARSE_OPT_NONEG | PARSE_OPT_NOARG,
> + parse_format_cb),
> OPT_END()
> };
> 2: b2b241f401 = 2: 6258316d93 repo: add the field objects.format
>
> Lucas Seiki Oshiro (2):
> repo: add the flag -z as an alias for --format=nul
> repo: add the field objects.format
>
> Documentation/git-repo.adoc | 9 ++++++--
> builtin/repo.c | 45 +++++++++++++++++++++++++++----------
> t/t1900-repo.sh | 18 +++++++++++++++
> 3 files changed, 58 insertions(+), 14 deletions(-)
prev parent reply other threads:[~2025-09-04 18:40 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-20 14:42 [GSoC PATCH 0/2] repo: add -z and objects.format Lucas Seiki Oshiro
2025-08-20 14:42 ` [GSoC PATCH 1/2] repo: add the flag -z as an alias for --format=nul Lucas Seiki Oshiro
2025-08-21 10:12 ` Karthik Nayak
2025-08-21 16:09 ` Junio C Hamano
2025-08-21 16:52 ` Karthik Nayak
2025-08-21 10:29 ` Patrick Steinhardt
2025-08-21 13:29 ` Lucas Seiki Oshiro
2025-08-21 17:28 ` Junio C Hamano
2025-08-21 20:57 ` Lucas Seiki Oshiro
2025-08-21 21:50 ` Junio C Hamano
2025-08-21 18:23 ` Jean-Noël AVILA
2025-08-21 19:52 ` Junio C Hamano
2025-08-20 14:42 ` [GSoC PATCH 2/2] repo: add the field objects.format Lucas Seiki Oshiro
2025-08-21 10:29 ` Patrick Steinhardt
2025-08-21 19:44 ` Junio C Hamano
2025-08-26 14:51 ` Lucas Seiki Oshiro
2025-08-21 10:14 ` [GSoC PATCH 0/2] repo: add -z and objects.format Karthik Nayak
2025-08-21 16:12 ` Junio C Hamano
2025-08-21 10:29 ` Patrick Steinhardt
2025-08-21 13:23 ` Lucas Seiki Oshiro
2025-08-21 14:55 ` Patrick Steinhardt
2025-08-21 17:28 ` Junio C Hamano
2025-08-26 18:13 ` Lucas Seiki Oshiro
2025-08-26 18:32 ` [GSoC PATCH v2 " Lucas Seiki Oshiro
2025-08-26 18:32 ` [GSoC PATCH v2 1/2] repo: add the flag -z as an alias for --format=nul Lucas Seiki Oshiro
2025-08-28 23:08 ` Junio C Hamano
2025-09-01 13:50 ` Lucas Seiki Oshiro
2025-08-26 18:32 ` [GSoC PATCH v2 2/2] repo: add the field objects.format Lucas Seiki Oshiro
2025-09-01 17:27 ` [GSoC PATCH v3 0/2] repo: add -z and objects.format Lucas Seiki Oshiro
2025-09-01 17:27 ` [GSoC PATCH v3 1/2] repo: add the flag -z as an alias for --format=nul Lucas Seiki Oshiro
2025-09-02 16:21 ` Junio C Hamano
2025-09-02 21:51 ` Lucas Seiki Oshiro
2025-09-01 17:27 ` [GSoC PATCH v3 2/2] repo: add the field objects.format Lucas Seiki Oshiro
2025-09-04 13:40 ` [GSoC PATCH v4 0/2] repo: add -z and objects.format Lucas Seiki Oshiro
2025-09-04 13:40 ` [GSoC PATCH v4 1/2] repo: add the flag -z as an alias for --format=nul Lucas Seiki Oshiro
2025-09-04 13:40 ` [GSoC PATCH v4 2/2] repo: add the field objects.format Lucas Seiki Oshiro
2025-09-04 18:40 ` Junio C Hamano [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=xmqq5xdy83jx.fsf@gitster.g \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=karthik.188@gmail.com \
--cc=lucasseikioshiro@gmail.com \
--cc=ps@pks.im \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).