path: implement common_dir handling in git_pathdup_submodule()
[gitweb.git] / Documentation / git-check-ref-format.txt
index fc02959ba4ab1ae6acc3dc5f707e870e42144f1c..9044dfaadae10047281dfdfd06a75e634e1309fa 100644 (file)
@@ -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 (`/`)