diff options
author | Namhyung Kim <namhyung.kim@lge.com> | 2013-06-18 21:35:31 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-06-18 12:02:02 -0700 |
commit | 98c5c4ad01551b7764c9c8d8f67abfa9c5e595fe (patch) | |
tree | 39878887f07de4058c8b67f8690d056fc97611d5 /t/t7409-submodule-detached-worktree.sh | |
parent | Git 1.8.3 (diff) | |
download | tgif-98c5c4ad01551b7764c9c8d8f67abfa9c5e595fe.tar.xz |
name-rev: allow to specify a subpath for --refs option
When an user wants to filter specific ref using the --refs option,
the pattern needs to match the full ref, e.g. --refs=refs/tags/v1.*.
It'd be convenient to specify a subpath of ref pattern. For
example, --refs=origin/* can find refs/remotes/origin/master by
searching the pattern against its substrings in turn:
refs/remotes/origin/master
remotes/origin/master
origin/master
If it finds a match in a subpath, unambigous part of the ref path will
be removed in the output.
Signed-off-by: Namhyung Kim <namhyung.kim@lge.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7409-submodule-detached-worktree.sh')
0 files changed, 0 insertions, 0 deletions