javagit/src/main/java/edu/nyu/cs/javagit/api/commands/GitBranchOptions.java
public void setOptNoTrack(boolean optNoTrack) {
    checkCanSetNoArgOption("--no-track");
    if (optNoTrack && optTrack) {
      throw new IllegalArgumentException(ExceptionMessageMap.getMessage("000120")
          + "  --no-track cannot be used with --track.");
    } 
    this.optNoTrack = optNoTrack;
  }
public void setOptNoTrack(boolean optNoTrack) {
    checkCanSetNoArgOption("--no-track");
    if (optNoTrack && optTrack) {
      throw new IllegalArgumentException(ExceptionMessageMap.getMessage("000120")
          + "  --no-track cannot be used with --track.");
    } 
    this.optNoTrack = optNoTrack;
  }
public void setOptNoTrack ( boolean optNoTrack ) { checkCanSetNoArgOption ( "--no-track" ) ; if ( optNoTrack && optTrack ) { throw new IllegalArgumentException ( ExceptionMessageMap . getMessage ( "000120" ) + "  --no-track cannot be used with --track." ) ; } this . optNoTrack = optNoTrack ; }
Checks whether the --no-track option should be set and sets it.

@param optNoTrack True if the --no-track option should be used, false otherwise.
Checks whether the -- no - track option should be set and sets it .