public static NGit.Transport.TagOpt FromOption(string o){if (o == null || o.Length == 0){return AUTO_FOLLOW;}foreach (NGit.Transport.TagOpt tagopt in Values()){if (tagopt.Option().Equals(o)){return tagopt;}}throw new ArgumentException(MessageFormat.Format(JGitText.Get().invalidTagOption,o));}