diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-08-03 11:01:31 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-08-03 11:01:31 -0700 |
commit | 8d3981ccbed9fc211b4e67105015179d9d2a5692 (patch) | |
tree | bdcd9f4facb37db619f80371fe1862953e232ae0 /refs.h | |
parent | 7a06e63f821069fe959cdfe16592d9678eee06e4 (diff) | |
parent | cd377f45c9d06e8ab3e87d5a687ed22ab34e1c48 (diff) | |
download | git-8d3981ccbed9fc211b4e67105015179d9d2a5692.tar.gz |
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 'refs.h')
-rw-r--r-- | refs.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -279,8 +279,8 @@ extern int for_each_reflog(each_ref_fn, void *); * to the rules described in Documentation/git-check-ref-format.txt. * If REFNAME_ALLOW_ONELEVEL is set in flags, then accept one-level * reference names. If REFNAME_REFSPEC_PATTERN is set in flags, then - * allow a "*" wildcard character in place of one of the name - * components. No leading or repeated slashes are accepted. + * allow a single "*" wildcard character in the refspec. No leading or + * repeated slashes are accepted. */ extern int check_refname_format(const char *refname, int flags); |