diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-02-01 15:38:05 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-02-01 15:38:05 -0800 |
commit | 19c2076a26be920feb8a661a79f40bae45a91e60 (patch) | |
tree | 744c0065df7b519137b1c68cacabc7ca7329ba1e /git-for-each-ref.html | |
parent | 7d09864344d875230c85cf7402730fef04f238fb (diff) | |
download | git-htmldocs-19c2076a26be920feb8a661a79f40bae45a91e60.tar.gz |
Autogenerated HTML docs for v2.7.0-235-g07c3
Diffstat (limited to 'git-for-each-ref.html')
-rw-r--r-- | git-for-each-ref.html | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/git-for-each-ref.html b/git-for-each-ref.html index 329cc8343..bc440df84 100644 --- a/git-for-each-ref.html +++ b/git-for-each-ref.html @@ -895,7 +895,11 @@ refname The name of the ref (the part after $GIT_DIR/).
For a non-ambiguous short name of the ref append <code>:short</code>.
The option core.warnAmbiguousRefs is used to select the strict
- abbreviation mode.
+ abbreviation mode. If <code>strip=<N></code> is appended, strips <code><N></code>
+ slash-separated path components from the front of the refname
+ (e.g., <code>%(refname:strip=2)</code> turns <code>refs/tags/foo</code> into <code>foo</code>.
+ <code><N></code> must be a positive integer. If a displayed ref has fewer
+ components than <code><N></code>, the command aborts with an error.
</p>
</dd>
<dt class="hdlist1">
@@ -1113,7 +1117,7 @@ eval "$eval"</code></pre> <div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2016-01-20 15:22:32 PST
+Last updated 2016-02-01 15:37:47 PST
</div>
</div>
</body>
|