Re: [PATCH v2 2/3] for-each-ref: let upstream/push optionally remote ref name
On Thu, Oct 05, 2017 at 02:19:15PM +0200, Johannes Schindelin wrote:
Show 16 quoted lines
> From: J Wyman <jwyman@microsoft.com>
> [..]
>
> diff --git a/Documentation/git-for-each-ref.txt b/Documentation/git-for-each-ref.txt
> index 39f50bd53eb..22767025850 100644
> --- a/Documentation/git-for-each-ref.txt
> +++ b/Documentation/git-for-each-ref.txt
> @@ -142,8 +142,9 @@ upstream::
> encountered. Append `:track,nobracket` to show tracking
> information without brackets (i.e "ahead N, behind M").
> +
> -Also respects `:remotename` to state the name of the *remote* instead of
> -the ref.
> +Also respects `:remotename` to state the name of the *remote* instead
> +of the ref, and `:remoteref` to state the name of the *reference* as
> +locally known by the remote.
What does "locally known by the remote" mean in this sentence?
> +
> Has no effect if the ref does not have tracking information associated
> with it. All the options apart from `nobracket` are mutually exclusive,
> @@ -152,9 +153,9 @@ but if used together the last option is selected.