Documentation/git-replace: describe --format option

Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Christian Couder committed Dec 11, 2013 at 08:46 UTC 34a332221c581585ad06ed43eff12fb7e675cc1d
1 file changed +18 -1
Documentation/git-replace.txt
+18 -1
@@ -10,7 +10,7 @@ SYNOPSIS
10 [verse]
11 'git replace' [-f] <object> <replacement>
12 'git replace' -d <object>...
13 -'git replace' -l [<pattern>]
13 +'git replace' [--format=<format>] [-l [<pattern>]]
14
15 DESCRIPTION
16 -----------
@@ -70,6 +70,23 @@ OPTIONS
70 Typing "git replace" without arguments, also lists all replace
71 refs.
72
73 +--format=<format>::
74 + When listing, use the specified <format>, which can be one of
75 + 'short', 'medium' and 'full'. When omitted, the format
76 + defaults to 'short'.
77 +
78 +FORMATS
79 +-------
80 +
81 +The following format are available:
82 +
83 +* 'short':
84 + <replaced sha1>
85 +* 'medium':
86 + <replaced sha1> -> <replacement sha1>
87 +* 'full'
88 + <replaced sha1> (<replaced type>) -> <replacement sha1> (<replacement type>)
89 +
90 CREATING REPLACEMENT OBJECTS
91 ----------------------------
92