Re: [PATCH 01/11] config-batch: basic boilerplate of new builtin
- From
Jean-Noël Avila <jn.avila@free.fr>
- Date
- Feb 6, 2026, 04:11 UTC
- Message-ID
- <f1f65415-7a50-451e-9826-05e9d4e38b62@free.fr>
- In-Reply-To
- <c4dab0609613bc5d43bce705dca2f057674a5d5b.1770214803.git.gitgitgadget@gmail.com>
Le 04/02/2026 à 15:19, Derrick Stolee via GitGitGadget a écrit :
Show 58 quoted lines
> From: Derrick Stolee <stolee@gmail.com> > > Later changes will document, implement, and test this new builtin. For now, > this serves as the latest example of the minimum boilerplate to introduce a > new builtin. > > Recently, we updated the comment in builtin.h about how to create a new > builtin, but failed to mention the required change to meson.build files for > some CI builds to pass. Fix that oversight. > > Signed-off-by: Derrick Stolee <stolee@gmail.com> > --- > .gitignore | 1 + > Documentation/git-config-batch.adoc | 24 +++++++++++++++++++++++ > Documentation/meson.build | 1 + > Makefile | 1 + > builtin.h | 7 +++++++ > builtin/config-batch.c | 30 +++++++++++++++++++++++++++++ > command-list.txt | 1 + > git.c | 1 + > meson.build | 1 + > t/meson.build | 1 + > t/t1312-config-batch.sh | 12 ++++++++++++ > 11 files changed, 80 insertions(+) > create mode 100644 Documentation/git-config-batch.adoc > create mode 100644 builtin/config-batch.c > create mode 100755 t/t1312-config-batch.sh > > diff --git a/.gitignore b/.gitignore > index 78a45cb5be..42640b5e24 100644 > --- a/.gitignore > +++ b/.gitignore > @@ -44,6 +44,7 @@ > /git-commit-graph > /git-commit-tree > /git-config > +/git-config-batch > /git-count-objects > /git-credential > /git-credential-cache > diff --git a/Documentation/git-config-batch.adoc b/Documentation/git-config-batch.adoc > new file mode 100644 > index 0000000000..dfa0bd83e2 > --- /dev/null > +++ b/Documentation/git-config-batch.adoc > @@ -0,0 +1,24 @@ > +git-config-batch(1) > +=================== > + > +NAME > +---- > +git-config-batch - Get and set options using machine-parseable interface > + > + > +SYNOPSIS > +-------- > +[verse] > +'git config-batch' <options>
For this new manual page, please use the synopsis style:
[synopsis] git config-batch <options>
Thanks