summaryrefslogtreecommitdiff
path: root/Documentation/git-name-rev.txt
diff options
context:
space:
mode:
authorStephan Beyer <s-beyer@gmx.net>2008-06-08 03:36:12 +0200
committerJunio C Hamano <gitster@pobox.com>2008-06-08 13:46:38 -0700
commiteba1351f03060f0c949db044e8a3b36c862c4337 (patch)
tree90b4a34835c0ace2e2ff10f6659d6546bf299207 /Documentation/git-name-rev.txt
parenta3800f66a64762ad518179dfacf4ac29f9d5a786 (diff)
downloadgit-eba1351f03060f0c949db044e8a3b36c862c4337.tar.gz
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>
Diffstat (limited to 'Documentation/git-name-rev.txt')
-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
-------