Documentation/git-replace: describe --format option

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Christian Couder 2013-12-11 08:46:13 +01:00 committed by Junio C Hamano
parent 769a4fa463
commit 34a332221c
1 changed files with 18 additions and 1 deletions

View File

@ -10,7 +10,7 @@ SYNOPSIS
[verse] [verse]
'git replace' [-f] <object> <replacement> 'git replace' [-f] <object> <replacement>
'git replace' -d <object>... 'git replace' -d <object>...
'git replace' -l [<pattern>] 'git replace' [--format=<format>] [-l [<pattern>]]


DESCRIPTION DESCRIPTION
----------- -----------
@ -70,6 +70,23 @@ OPTIONS
Typing "git replace" without arguments, also lists all replace Typing "git replace" without arguments, also lists all replace
refs. refs.


--format=<format>::
When listing, use the specified <format>, which can be one of
'short', 'medium' and 'full'. When omitted, the format
defaults to 'short'.

FORMATS
-------

The following format are available:

* 'short':
<replaced sha1>
* 'medium':
<replaced sha1> -> <replacement sha1>
* 'full'
<replaced sha1> (<replaced type>) -> <replacement sha1> (<replacement type>)

CREATING REPLACEMENT OBJECTS CREATING REPLACEMENT OBJECTS
---------------------------- ----------------------------