javagit/src/main/java/edu/nyu/cs/javagit/api/commands/GitBranchOptions.java
public void setOptVerbose(boolean optVerbose) {
    checkCanSetNoArgOption("--verbose");
    if ((false == optVerbose) && (optAbbrev || optNoAbbrev)) {
      throw new IllegalArgumentException(ExceptionMessageMap.getMessage("000120")
          + "  --no-abbrev or --abbrev can only be used with --verbose.");
    }
    this.optVerbose = optVerbose;
  }
public void setOptVerbose(boolean optVerbose) {
    checkCanSetNoArgOption("--verbose");
    if ((false == optVerbose) && (optAbbrev || optNoAbbrev)) {
      throw new IllegalArgumentException(ExceptionMessageMap.getMessage("000120")
          + "  --no-abbrev or --abbrev can only be used with --verbose.");
    }
    this.optVerbose = optVerbose;
  }
Checks whether the verbose option should be set and sets it.

@param optVerbose
True if the verbose option should be used, false otherwise.