summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2015-08-03 11:01:31 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-08-03 11:01:31 -0700
commit8d3981ccbed9fc211b4e67105015179d9d2a5692 (patch)
treebdcd9f4facb37db619f80371fe1862953e232ae0 /Documentation
parentMerge branch 'da/subtree-date-confusion' (diff)
parentrefs: loosen restriction on wildcard "*" refspecs (diff)
downloadtgif-8d3981ccbed9fc211b4e67105015179d9d2a5692.tar.xz
Merge branch 'jk/refspec-parse-wildcard'
Allow an asterisk as a substring (as opposed to the entirety) of a path component for both side of a refspec, e.g. "refs/heads/o*:refs/remotes/heads/i*". * jk/refspec-parse-wildcard: refs: loosen restriction on wildcard "*" refspecs refs: cleanup comments regarding check_refname_component()
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-check-ref-format.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/git-check-ref-format.txt b/Documentation/git-check-ref-format.txt
index fc02959ba4..9044dfaada 100644
--- a/Documentation/git-check-ref-format.txt
+++ b/Documentation/git-check-ref-format.txt
@@ -94,8 +94,8 @@ OPTIONS
Interpret <refname> as a reference name pattern for a refspec
(as used with remote repositories). If this option is
enabled, <refname> is allowed to contain a single `*`
- in place of a one full pathname component (e.g.,
- `foo/*/bar` but not `foo/bar*`).
+ in the refspec (e.g., `foo/bar*/baz` or `foo/bar*baz/`
+ but not `foo/bar*/baz*`).
--normalize::
Normalize 'refname' by removing any leading slash (`/`)