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>

Steffen Prohaska committed Sep 11, 2014 at 17:19 UTC 7ac92f64ddb735052993640d26aad4cd7886b183
1 file changed +1 -1
Documentation/git-update-index.txt
+1 -1
@@ -191,7 +191,7 @@ merging.
191 To pretend you have a file with mode and sha1 at path, say:
192
193 ----------------
194 -$ git update-index --cacheinfo mode sha1 path
194 +$ git update-index --cacheinfo <mode>,<sha1>,<path>
195 ----------------
196
197 '--info-only' is used to register files without placing them in the object