javagit/src/main/java/edu/nyu/cs/javagit/client/GitAddResponseImpl.java
public void setComment(int lineNumber, String commentString) {
    ResponseString comment = new ResponseString(lineNumber, commentString);
    comments.add(comment);
  }
public void setComment(int lineNumber, String commentString) {
    ResponseString comment = new ResponseString(lineNumber, commentString);
    comments.add(comment);
  }
Sets the non-error message generated in the output of the &lt;git-add&gt; command.

@param lineNumber
line number at which the message appeared in output.
@param commentString
message itself.