From 7ac92f64ddb735052993640d26aad4cd7886b183 Mon Sep 17 00:00:00 2001 From: Steffen Prohaska Date: Thu, 11 Sep 2014 17:19:51 +0200 Subject: 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 Signed-off-by: Junio C Hamano diff --git a/Documentation/git-update-index.txt b/Documentation/git-update-index.txt index d6de4a0..56626a0 100644 --- a/Documentation/git-update-index.txt +++ b/Documentation/git-update-index.txt @@ -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 ,, ---------------- '--info-only' is used to register files without placing them in the object -- cgit v0.10.2-6-g49f6