t4017 (diff-retval): replace manual exit code check with test_expect_code
[gitweb.git] / Documentation / git-for-each-ref.txt
index 7e83288d1846a7fcd53ec46776160a2f5ffbad84..d66fd9d2314774a0b31eadb23f8c00c199276d84 100644 (file)
@@ -9,7 +9,7 @@ SYNOPSIS
 --------
 [verse]
 'git for-each-ref' [--count=<count>] [--shell|--perl|--python|--tcl]
-                  [--sort=<key>]\* [--format=<format>] [<pattern>...]
+                  [--sort=<key>]* [--format=<format>] [<pattern>...]
 
 DESCRIPTION
 -----------
@@ -86,6 +86,7 @@ objectsize::
 
 objectname::
        The object name (aka SHA-1).
+       For a non-ambiguous abbreviation of the object name append `:short`.
 
 upstream::
        The name of a local ref which can be considered ``upstream''