Using Eclipse Indigo and egit, everytime I commit a pop up appears and has my name and email in the author and committer boxes. They look fine. however, egit tells me:
Invalid author specified. Example: A U Thor <[email protected]>
when, I copy and paste A U Thor <[email protected]>
into the author box, the message goes away. I can even edit it back to my name and email and it is fine. which makes no sense - what was wrong with it in the first place?
Similar problem happens with committer box. I get:
Invalid committer specified. Example: C O Mitter <[email protected]>
Commit from command line: git commit -m "message"
The next commit from eGit will work.
Look at the message you are getting:
Invalid author specified. Example: A U Thor <[email protected]>
It simply means that it wants info in indicated format.
For example, if your name is James Bond then you need to type
James Bond <[email protected]>
You can do the same in both rows.
When looking at the org.eclipse.jgit.util.RawParseUtils_ParsePersonIdentTest and the org.eclipse.jgit.util.RawParseUtils#parsePersonIdent() function, I can only imagine some special character or some Git configuration (user.name, user.email) missing.
Those settings should be enteredd in a configuration entry:
The function which calls the parsing is org.eclipse.egit.ui.internal.dialogs.CommitMessageComponent#checkCommitInfo()
If you user name and email are correctly set, then it can be an Egit or JGit bug.
A bit like "bug 377969: EGit rebase does not valide user.name and user.email config properly" (on Linux).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With