summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Beyer <s-beyer@gmx.net>2008-06-08 01:36:12 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-06-08 20:46:38 (GMT)
commiteba1351f03060f0c949db044e8a3b36c862c4337 (patch)
tree90b4a34835c0ace2e2ff10f6659d6546bf299207
parenta3800f66a64762ad518179dfacf4ac29f9d5a786 (diff)
downloadgit-eba1351f03060f0c949db044e8a3b36c862c4337.zip
git-eba1351f03060f0c949db044e8a3b36c862c4337.tar.gz
git-eba1351f03060f0c949db044e8a3b36c862c4337.tar.bz2
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 12784d7..ffac3f8 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
-------