]> git.feebdaed.xyz Git - 0xmirror/git.git/commit
repo: use [--format=... | -z] instead of [-z] in git-repo-info synopsis
authorLucas Seiki Oshiro <lucasseikioshiro@gmail.com>
Thu, 4 Dec 2025 20:10:11 +0000 (17:10 -0300)
committerJunio C Hamano <gitster@pobox.com>
Fri, 5 Dec 2025 02:39:19 +0000 (11:39 +0900)
commit768cf991ffea54dbcaf63c45750f0e3a26ebdcc6
treeebfc9894eb0accb791801b87a2012f136f449e12
parent6fd44f55a7594842e70d549853b7f1ac4e27e6ea
repo: use [--format=... | -z] instead of [-z] in git-repo-info synopsis

The flag -z is only an alias for --format=null and even though --format
and -z can be used together and repeated, only the last one is
considered.

Replace `[-z]` in the synopsis of git-repo-info by
`[--format=... | -z]`, expliciting that the use of one of those flags
replace the other.

Signed-off-by: Lucas Seiki Oshiro <lucasseikioshiro@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-repo.adoc
builtin/repo.c