repo: add -z and objects.format
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest2 patches 1 replyIn review
- v32 patches 2 repliesSuperseded
- v22 patches 2 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 2 patches | 20 replies | Superseded |
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | repo: add the flag -z as an alias for --format=nulDocumentation/ builtin/ t/ | +42 | 0 replies | |
| 2/2 | repo: add the field objects.formatDocumentation/ builtin/ t/ | +16 | 0 replies |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by.
| Patch | Karthik Nayak | Patrick Steinhardt |
|---|---|---|
| 1/2 | Mentored-by | Mentored-by |
| 2/2 | Mentored-by | Mentored-by |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [GSoC PATCH v4 0/2] repo: add -z and objects.format
Hi!
This v4 fixes two codestyle issues:
- Break line before opening a brace
- Add spaces surrounding a |
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(-)
Signature · 1 line
2.39.5 (Apple Git-154)