]> Kevux Git Server - rit/commit
repo: factor repo usage strings into shared macros
authorMahi Kassa <mahlet.takassa@gmail.com>
Wed, 25 Mar 2026 11:51:47 +0000 (12:51 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 25 Mar 2026 17:35:27 +0000 (10:35 -0700)
commit4be77c732c9951a60f743af04a5906fdc41c5795
tree232d79097ca5354e538c4e0bdc48941bdcdeccd8
parentce74208c2fa13943fffa58f168ac27a76d0eb789
repo: factor repo usage strings into shared macros

Factor the "git repo info" and "git repo structure" usage
strings into shared macros so they can be reused in multiple
usage arrays.

This is a preparatory refactoring for subsequent changes to
subcommand-specific help output.

Signed-off-by: Mahi Kassa <mahlet.takassa@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/repo.c