index 48540c08bb480845183c6bcd99454a9d382ea9bd..b0da5fc95dff025a8dd5c1f299ee25efc6141e81 100644 (file)
--- a/refs.h
+++ b/refs.h
* 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.
+ * components. No leading or repeated slashes are accepted.
*/
extern int check_refname_format(const char *ref, int flags);