public static TagOpt fromOption(String o) {if (o == null || o.length() == 0)return AUTO_FOLLOW;for (TagOpt tagopt : values()) {if (tagopt.option().equals(o))return tagopt;}throw new IllegalArgumentException(MessageFormat.format(JGitText.get().invalidTagOption, o));}

public static TagOpt fromOption ( String o ) { if ( o == null || o . length ( ) == 0 ) return AUTO_FOLLOW ; for ( TagOpt tagopt : values ( ) ) { if ( tagopt . option ( ) . equals ( o ) ) return tagopt ; } throw new IllegalArgumentException ( MessageFormat . format ( JGitText . get ( ) . invalidTagOption , o ) ) ; }
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));}
