diff options
author | Michael J Gruber <git@drmicha.warpmail.net> | 2010-05-13 14:31:46 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-05-18 21:49:04 -0700 |
commit | 67687feae52ff2d3ab7edf3ac42a39c5e44be299 (patch) | |
tree | ba6200d9cbf29a9c1acaa17bfaa4a782d531b249 /Documentation/git-for-each-ref.txt | |
parent | 04794fdc2701f15d79d92805cfe94c9e754e2e05 (diff) | |
download | git-67687feae52ff2d3ab7edf3ac42a39c5e44be299.tar.gz |
for-each-ref: Field with abbreviated objectname
Introduce a :short modifier to objectname which outputs the abbreviated
object name.
Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Reviewed-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-for-each-ref.txt')
-rw-r--r-- | Documentation/git-for-each-ref.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/git-for-each-ref.txt b/Documentation/git-for-each-ref.txt index 7e83288d18..390d85ccae 100644 --- a/Documentation/git-for-each-ref.txt +++ b/Documentation/git-for-each-ref.txt @@ -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'' |