All of lore.kernel.org
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: Steffen Prohaska <prohaska@zib.de>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] Documentation: use single-parameter --cacheinfo in example
Date: Thu, 11 Sep 2014 10:35:30 -0700	[thread overview]
Message-ID: <xmqqppf2dpr1.fsf@gitster.dls.corp.google.com> (raw)
In-Reply-To: <1410448791-31514-1-git-send-email-prohaska@zib.de> (Steffen Prohaska's message of "Thu, 11 Sep 2014 17:19:51 +0200")

Steffen Prohaska <prohaska@zib.de> writes:

> 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>
> ---

My fault.  Thanks for catching.

>  Documentation/git-update-index.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/git-update-index.txt b/Documentation/git-update-index.txt
> index dfc09d9..82eca6f 100644
> --- a/Documentation/git-update-index.txt
> +++ b/Documentation/git-update-index.txt
> @@ -202,7 +202,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

      reply	other threads:[~2014-09-11 17:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-11 15:19 [PATCH] Documentation: use single-parameter --cacheinfo in example Steffen Prohaska
2014-09-11 17:35 ` Junio C Hamano [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=xmqqppf2dpr1.fsf@gitster.dls.corp.google.com \
    --to=gitster@pobox.com \
    --cc=git@vger.kernel.org \
    --cc=prohaska@zib.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.