summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-08-03 18:01:31 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-08-03 18:01:31 (GMT)
commit8d3981ccbed9fc211b4e67105015179d9d2a5692 (patch)
treebdcd9f4facb37db619f80371fe1862953e232ae0 /Documentation
parent7a06e63f821069fe959cdfe16592d9678eee06e4 (diff)
parentcd377f45c9d06e8ab3e87d5a687ed22ab34e1c48 (diff)
downloadgit-8d3981ccbed9fc211b4e67105015179d9d2a5692.zip
git-8d3981ccbed9fc211b4e67105015179d9d2a5692.tar.gz
git-8d3981ccbed9fc211b4e67105015179d9d2a5692.tar.bz2
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 fc02959..9044dfa 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 (`/`)