]> git.ipfire.org Git - thirdparty/git.git/commit
builtin/multi-pack-index.c: define common usage with a macro
authorTaylor Blau <me@ttaylorr.com>
Tue, 30 Mar 2021 15:03:54 +0000 (11:03 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 30 Mar 2021 19:16:56 +0000 (12:16 -0700)
commitb25b727494f4782c7af1db31fdfde1cc9b30f7c4
tree02d06488d75fa4e007f43d58d3dedec28d100b59
parentcf1f5389ec9eed5453c090cba347f68a3c3da3f7
builtin/multi-pack-index.c: define common usage with a macro

Factor out the usage message into pieces corresponding to each mode.
This avoids options specific to one sub-command from being shared with
another in the usage.

A subsequent commit will use these #define macros to have usage
variables for each sub-command without duplicating their contents.

Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/multi-pack-index.c