Skip to content

Commit eba1351

Browse files
sbeyergitster
authored andcommitted
git-name-rev.txt: document --no-undefined and --always
Signed-off-by: Stephan Beyer <s-beyer@gmx.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent a3800f6 commit eba1351

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Documentation/git-name-rev.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,13 @@ OPTIONS
4141
of linkgit:git-describe[1] more closely. This option
4242
cannot be combined with --stdin.
4343

44+
--no-undefined::
45+
Die with error code != 0 when a reference is undefined,
46+
instead of printing `undefined`.
47+
48+
--always::
49+
Show uniquely abbreviated commit object as fallback.
50+
4451
EXAMPLE
4552
-------
4653

0 commit comments

Comments
 (0)