Hi Alain,
here is the relevant code from the git module:
// parse author
String authorName = "";
String authorEmail = "";
if (author != null) {
final String[] authorTokens = author.split("|");
if (authorTokens.length > 0)
authorName = authorTokens[0].trim();
if (authorTokens.length > 1)
authorEmail = authorTokens[1].trim();
}
return
repo.commit().setMessage(message).setAuthor(authorName,
authorEmail).setAmend(amend).call();
So we try to split on the vertical line character '|'. Are you
using this character instead of 'l' in your name by any chance?
Anyway we should add correct documentation here and probably use
a pattern matcher to correctly extract both parameters. Would you
mind opening a bug for that issue?
Christian
On 13.06.2017 18:01, BERNARD, Alain
wrote:
Hello,
I’m using the « Git » module to commit changes
to a repository. Thus, I commit using the following command:
commit(clone_path, "Modification of README
file", "Alain")
When I have a look on the history of the
repository, in the “Author” field I only see “A” instead of
“Alain”. In fact, it seems that the information is “A
<l>”

I’m wondering if I made a mistake in the format
of the “author” script parameter with “Alain” or if it is a
bug?
Cheers,
Alain
The information in this e-mail is confidential. The contents may not be disclosed or used by anyone other than the addressee. Access to this e-mail by anyone else is unauthorised.
If you are not the intended recipient, please notify Airbus immediately and delete this e-mail.
Airbus cannot accept any responsibility for the accuracy or completeness of this e-mail as it has been sent over public networks. If you have any concerns over the content of this message or its Accuracy or Integrity, please contact Airbus immediately.
All outgoing e-mails from Airbus are checked using regularly updated virus scanning software but you should take whatever measures you deem to be appropriate to ensure that this message and any attachments are virus free.
_______________________________________________
ease-dev mailing list
ease-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ease-dev