summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Stephan Beyer <s-beyer@gmx.net>2008-06-08 03:36:12 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-06-08 13:46:38 -0700
commiteba1351f03060f0c949db044e8a3b36c862c4337 (patch)
tree90b4a34835c0ace2e2ff10f6659d6546bf299207
parentgit-describe.txt: document --always (diff)
downloadtgif-eba1351f03060f0c949db044e8a3b36c862c4337.tar.xz
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>
-rw-r--r--Documentation/git-name-rev.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/git-name-rev.txt b/Documentation/git-name-rev.txt
index 12784d7372..ffac3f8f56 100644
--- a/Documentation/git-name-rev.txt
+++ b/Documentation/git-name-rev.txt
@@ -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
-------