submodule: rewrite `module_clone` shell function in C
[gitweb.git] / refs.h
diff --git a/refs.h b/refs.h
index e4e46c3dc450d53eb299824da630bdbc4c5805cc..6a3fa6d41d50a7a76fdb2dab4c18aaaba1d9b8eb 100644 (file)
--- a/refs.h
+++ b/refs.h
@@ -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);