Lucas Seiki Oshiro <lucasseikioshiro@xxxxxxxxx> writes: > Create a new Git subcommand called repo-info. `git repo-info` will query > metadata from the current repository and outputs it as JSON or plaintext. > > Also add entries for this new command in: > > - the build files (Makefile and meson.build) > - builtin.h > - git.c > - .gitignore > > In option parsing, use PARSE_OPT_KEEP_UNKNOWN_OPT to allow the users > specify after the flags the information that they want to retrieve. > Something I would really recommend in all the commits is to be a lot more descriptive about _why_ are we even making these changes. In this case, it would be great to mention about 'git-rev-parse(1)' and the motivation of adding this new command. That would provide some much needed context about why we are even adding this new command. Also worth mentioning is why we plan to output in JSON or plaintext. - Karthik
Attachment:
signature.asc
Description: PGP signature