From eba1351f03060f0c949db044e8a3b36c862c4337 Mon Sep 17 00:00:00 2001 From: Stephan Beyer Date: Sun, 8 Jun 2008 03:36:12 +0200 Subject: git-name-rev.txt: document --no-undefined and --always Signed-off-by: Stephan Beyer Signed-off-by: Junio C Hamano --- Documentation/git-name-rev.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/git-name-rev.txt b/Documentation/git-name-rev.txt index 12784d737..ffac3f8f5 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 ------- -- cgit v1.2.1