Documentation: use single-parameter --cacheinfo in example

The single-parameter form is described as the preferred way.  Separate
arguments are only supported for backward compatibility.  Update the
example to the recommended form.

Signed-off-by: Steffen Prohaska <prohaska@zib.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Steffen Prohaska 2014-09-11 17:19:51 +02:00 коммит произвёл Junio C Hamano
Родитель c8e1ee4f2c
Коммит 7ac92f64dd
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -191,7 +191,7 @@ merging.
To pretend you have a file with mode and sha1 at path, say:
----------------
$ git update-index --cacheinfo mode sha1 path
$ git update-index --cacheinfo <mode>,<sha1>,<path>
----------------
'--info-only' is used to register files without placing them in the object