Code

git-name-rev.txt: document --no-undefined and --always
authorStephan Beyer <s-beyer@gmx.net>
Sun, 8 Jun 2008 01:36:12 +0000 (03:36 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 8 Jun 2008 20:46:38 +0000 (13:46 -0700)
Signed-off-by: Stephan Beyer <s-beyer@gmx.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-name-rev.txt

index 12784d737296544c7b32f3f41c8ca25988d2421d..ffac3f8f564bf5f5e2ca317b986db9b01f5dc026 100644 (file)
@@ -41,6 +41,13 @@ OPTIONS
        of linkgit:git-describe[1] more closely.  This option
        cannot be combined with --stdin.
 
+--no-undefined::
+       Die with error code != 0 when a reference is undefined,
+       instead of printing `undefined`.
+
+--always::
+       Show uniquely abbreviated commit object as fallback.
+
 EXAMPLE
 -------