{"thread":{"id":"37535","subject":"[PATCH] Documentation: use single-parameter --cacheinfo in example","startedAt":"2014-09-11T15:19:51Z","lastAt":"2014-09-11T17:35:30Z","messageCount":2,"participants":["Steffen Prohaska","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"249231","messageId":"1410448791-31514-1-git-send-email-prohaska@zib.de","threadId":"37535","inReplyTo":null,"subject":"[PATCH] Documentation: use single-parameter --cacheinfo in example","fromName":"Steffen Prohaska","fromEmail":"prohaska@zib.de","sentAt":"2014-09-11T15:19:51Z","receivedAt":"2014-09-11T15:19:51Z","isPatch":true,"sender":{"key":"prohaska@zib.de","avatar":"https://avatars.githubusercontent.com/u/217580?v=4"},"body":"The single-parameter form is described as the preferred way.  Separate\narguments are only supported for backward compatibility.  Update the\nexample to the recommended form.\n\nSigned-off-by: Steffen Prohaska <prohaska@zib.de>\n---\n Documentation/git-update-index.txt | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)\n\ndiff --git a/Documentation/git-update-index.txt b/Documentation/git-update-index.txt\nindex dfc09d9..82eca6f 100644\n--- a/Documentation/git-update-index.txt\n+++ b/Documentation/git-update-index.txt\n@@ -202,7 +202,7 @@ merging.\n To pretend you have a file with mode and sha1 at path, say:\n \n ----------------\n-$ git update-index --cacheinfo mode sha1 path\n+$ git update-index --cacheinfo <mode>,<sha1>,<path>\n ----------------\n \n '--info-only' is used to register files without placing them in the object\n-- \n2.1.0.137.gbf198b9\n"},{"id":"249241","messageId":"xmqqppf2dpr1.fsf@gitster.dls.corp.google.com","threadId":"37535","inReplyTo":"1410448791-31514-1-git-send-email-prohaska@zib.de","subject":"Re: [PATCH] Documentation: use single-parameter --cacheinfo in example","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2014-09-11T17:35:30Z","receivedAt":"2014-09-11T17:35:30Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Steffen Prohaska <prohaska@zib.de> writes:\n\n> The single-parameter form is described as the preferred way.  Separate\n> arguments are only supported for backward compatibility.  Update the\n> example to the recommended form.\n>\n> Signed-off-by: Steffen Prohaska <prohaska@zib.de>\n> ---\n\nMy fault.  Thanks for catching.\n\n>  Documentation/git-update-index.txt | 2 +-\n>  1 file changed, 1 insertion(+), 1 deletion(-)\n>\n> diff --git a/Documentation/git-update-index.txt b/Documentation/git-update-index.txt\n> index dfc09d9..82eca6f 100644\n> --- a/Documentation/git-update-index.txt\n> +++ b/Documentation/git-update-index.txt\n> @@ -202,7 +202,7 @@ merging.\n>  To pretend you have a file with mode and sha1 at path, say:\n>  \n>  ----------------\n> -$ git update-index --cacheinfo mode sha1 path\n> +$ git update-index --cacheinfo <mode>,<sha1>,<path>\n>  ----------------\n>  \n>  '--info-only' is used to register files without placing them in the object\n"}]}