Reference_Format - SwiftDocOrg/Git GitHub Wiki
Normalization options for reference lookup.
public enum FormatNo particular normalization.
case normalControl whether one-level refnames are accepted
(i.e., refnames that do not contain multiple /-separated components).
case allowOneLevelThose are expected to be written only using
uppercase letters and underscore (FETCH_HEAD, ...)
Interpret the provided name as a reference pattern for a refspec (as used with remote repositories).
case refspecPatternIf this option is enabled,
the name is allowed to contain a single * ()
in place of a one full pathname component
(e.g., foo/<star>/bar but not foo/bar<star>).
Interpret the name as part of a refspec in shorthand form
so the ONELEVEL naming rules aren't enforced
and 'master' becomes a valid name.
case refspecShorthand