Skip to content

Commit bd9b4fa

Browse files
committed
for-each-ref: mark :remotename and :remoteref as experimental
These expansions will most likely be introduced into Git for Windows as a test balloon first, and if they work out as expected, we'll try to get the patches into upstream Git. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 2ff3f70 commit bd9b4fa

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Documentation/git-for-each-ref.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,9 @@ upstream::
147147
encountered. Append `:track,nobracket` to show tracking
148148
information without brackets (i.e "ahead N, behind M").
149149
+
150-
Also respects `:remotename` to state the name of the *remote* instead
151-
of the ref, and `:remoteref` to state the name of the *reference* as
152-
locally known by the remote.
150+
(EXPERIMENTAL) Also respects `:remotename` to state the name of the
151+
*remote* instead of the ref, and `:remoteref` to state the name of
152+
the *reference* as locally known by the remote.
153153
+
154154
Has no effect if the ref does not have tracking information associated
155155
with it. All the options apart from `nobracket` are mutually exclusive,
@@ -158,9 +158,9 @@ but if used together the last option is selected.
158158
push::
159159
The name of a local ref which represents the `@{push}`
160160
location for the displayed ref. Respects `:short`, `:lstrip`,
161-
`:rstrip`, `:track`, `:trackshort`, `:remotename`, and `:remoteref`
162-
options as `upstream` does. Produces an empty string if no `@{push}`
163-
ref is configured.
161+
`:rstrip`, `:track`, `:trackshort`, (EXPERIMENTAL) `:remotename`,
162+
and (EXPERIMENTAL) `:remoteref` options as `upstream` does.
163+
Produces an empty string if no `@{push}` ref is configured.
164164

165165
HEAD::
166166
'*' if HEAD matches current ref (the checked out branch), ' '

0 commit comments

Comments
 (0)