summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2013-06-30 15:39:41 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-06-30 15:39:41 -0700
commit96ffd4ca937616c4a419cb9e2ef80b3156acaf80 (patch)
treec876e8fe5c1ca4514fc1d2c23cf142e407d44288 /Documentation
parentMerge branch 'jk/submodule-subdirectory-ok' (diff)
parentname-rev: allow to specify a subpath for --refs option (diff)
downloadtgif-96ffd4ca937616c4a419cb9e2ef80b3156acaf80.tar.xz
Merge branch 'nk/name-rev-abbreviated-refs'
"git name-rev --refs=tags/v*" were forbidden, which was a bit inconvenient (you had to give a pattern to match refs fully, like --refs=refs/tags/v*). * nk/name-rev-abbreviated-refs: name-rev: allow to specify a subpath for --refs option
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-name-rev.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/git-name-rev.txt b/Documentation/git-name-rev.txt
index ad1d1468c9..6b0f1ba75f 100644
--- a/Documentation/git-name-rev.txt
+++ b/Documentation/git-name-rev.txt
@@ -25,7 +25,8 @@ OPTIONS
Do not use branch names, but only tags to name the commits
--refs=<pattern>::
- Only use refs whose names match a given shell pattern.
+ Only use refs whose names match a given shell pattern. The pattern
+ can be one of branch name, tag name or fully qualified ref name.
--all::
List all commits reachable from all refs