public ResetCommand addPath(String path) {if (mode != null)throw new JGitInternalException(MessageFormat.format(JGitText.get().illegalCombinationOfArguments, "<paths>...", "[--mixed | --soft | --hard]")); filepaths.add(path);return this;}
public virtual NGit.Api.ResetCommand AddPath(string file){if (mode != null){throw new JGitInternalException(MessageFormat.Format(JGitText.Get().illegalCombinationOfArguments, "<paths>...", "[--mixed | --soft | --hard]"));}filepaths.AddItem(file);return this;}