]> source.dussan.org Git - jgit.git/commit
Fix parsing of multiple authors in PersonIdent. 24/1324/5
authorMarc Strapetz <marc.strapetz@syntevo.com>
Thu, 19 Aug 2010 13:34:44 +0000 (15:34 +0200)
committerMarc Strapetz <marc.strapetz@syntevo.com>
Thu, 26 Aug 2010 10:58:03 +0000 (12:58 +0200)
commit80c622c49c22e6d303856b8cb916b5fd0da86712
treed430984eb4582368a360b316656832491e1db18c
parent6517a7c923e012ea4b3d9f2497122d9c64dbdd5e
Fix parsing of multiple authors in PersonIdent.

PersonIdent should be parsable for an invalid commit which
contains multiple authors, like "A <a@a.org>, B <b@b.org>".
PersonIdent(String) constructor now delegates to
RawParseUtils.parsePersonIdent().

Change-Id: Ie9798d36d9ecfcc0094ca795f5a44b003136eaf7
org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Commit.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/T0001_PersonIdent.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/revwalk/RevCommitParseTest.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/util/ChangeIdUtilTest.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/util/RawParseUtils_ParsePersonIdentTest.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/PersonIdent.java
org.eclipse.jgit/src/org/eclipse/jgit/util/RawParseUtils.java