text: 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;}