func ValidateBranchName(name string) error {
	if name == "" {
		return errors.NotValidf("empty branch name")
	}
	if name == GenerationMaster {
		return errors.NotValidf("branch name %q", GenerationMaster)
	}
	return nil
}
// ValidateBranchName returns an error if the input name is not suitable for
// identifying a new in-flight branch.
ValidateBranchName returns an error if the input name is not suitable for
identifying a new in-flight branch.
// ValidateBranchName returns an error if the input name is not suitable for // identifying a new in - flight branch .
func ValidateBranchName(name string) error {
	if name == "" {
		return errors.NotValidf("empty branch name")
	}
	if name == GenerationMaster {
		return errors.NotValidf("branch name %q", GenerationMaster)
	}
	return nil
}
func ValidateBranchName ( name string ) error { if name == " " { return errors . NotValidf ( " " ) } if name == GenerationMaster { return errors . NotValidf ( " " , GenerationMaster ) } return nil }
ValidateBranchName returns an error if the input name is not suitable for
identifying a new in-flight branch.
ValidateBranchName returns an error if the input name is not suitable for identifying a new in - flight branch .