diff options
author | RĂ¼diger Herrmann <ruediger.herrmann@gmx.de> | 2014-10-17 13:05:41 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2015-01-03 00:28:15 +0100 |
commit | a4c2c8a3eea8a28b34e298f5ef3ccbd56dd87fac (patch) | |
tree | 119dd60e20990293f8354a54011b992cbdf52cb8 /tools | |
parent | 1cb566844116fc280969e4a89be8fa1c6e3a7d72 (diff) | |
download | jgit-a4c2c8a3eea8a28b34e298f5ef3ccbd56dd87fac.tar.gz jgit-a4c2c8a3eea8a28b34e298f5ef3ccbd56dd87fac.zip |
Trim author/committer name and email in commit header
C Git trims name and email before inserting them into the commit header
so that " A U Thor " and " author@example.com " becomes
"A U Thor <author@example.com>" with a single separating space.
This changes PersonIdent#toExternalString() to trim name and email
before concatenating them.
Change-Id: Idd77b659d0db957626824f6632e2da38d7731625
Signed-off-by: RĂ¼diger Herrmann <ruediger.herrmann@gmx.de>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions