public final String getShortMessage() {byte[] raw = buffer;int msgB = RawParseUtils.tagMessage(raw, 0);if (msgB < 0) {return ""; }int msgE = RawParseUtils.endOfParagraph(raw, msgB);String str = RawParseUtils.decode(guessEncoding(), raw, msgB, msgE);if (RevCommit.hasLF(raw, msgB, msgE)) {str = StringUtils.replaceLineBreaksWithSpace(str);}return str;}

public string GetShortMessage(){byte[] raw = buffer;int msgB = RawParseUtils.TagMessage(raw, 0);if (msgB < 0){return string.Empty;}Encoding enc = RawParseUtils.ParseEncoding(raw);int msgE = RawParseUtils.EndOfParagraph(raw, msgB);string str = RawParseUtils.Decode(enc, raw, msgB, msgE);if (RevCommit.HasLF(raw, msgB, msgE)){str = str.Replace('\n', ' ');}return str;}
