Thread (21 messages) 21 messages, 4 authors, 2025-09-04
STALE295d
Revisions (4)
  1. v1 current
  2. v2 [diff vs current]
  3. v3 [diff vs current]
  4. v4 [diff vs current]

[GSoC PATCH 0/2] repo: add -z and objects.format

From: Lucas Seiki Oshiro <hidden>
Date: 2025-08-20 14:43:49

Hi!

This patchset adds two features to `git repo info`. They are unrelated,
but I preferred to send them together to avoid merge conflicts and
because they are small.

- The first patch adds the `-z` as an alias for `--format=null`, as
  requested in [1]

- The second patch adds `objects.format`, which retrieves the same value
  as `git rev-parse --show-object-format`
  
Thanks!

[1] https://lore.kernel.org/git/mgdervgp34m6ipfbodsfn7cztcl7gdeggzemfgivzvuyk7qtba@wdijebkuioxg/ (local)

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              | 24 +++++++++++++++++++-----
 t/t1900-repo.sh             | 18 ++++++++++++++++++
 3 files changed, 44 insertions(+), 7 deletions(-)

-- 
2.39.5 (Apple Git-154)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help