Ejemplo n.º 1
0
 public static RawCharSequence textFor(RevCommit cmit)
 {
     byte[] raw = cmit.getRawBuffer();
     int b = RawParseUtils.committer(raw, 0);
     if (b < 0)
         return RawCharSequence.EMPTY;
     int e = RawParseUtils.nextLF(raw, b, (byte)'>');
     return new RawCharSequence(raw, b, e);
 }
Ejemplo n.º 2
0
 static RawCharSequence textFor(RevCommit cmit)
 {
     byte[] raw = cmit.getRawBuffer();
     int b = RawParseUtils.commitMessage(raw, 0);
     if (b < 0)
         return RawCharSequence.EMPTY;
     return new RawCharSequence(raw, b, raw.Length);
 }