I work on a Maven build that uses the git-commit-id plugin. I haven't run this build locally for a while. I recently had to tweak my user.name value in in my $HOME/.gitconfig to reflect corp standards. Today, when I tried to run that build, I saw an error like this:
[ERROR] Failed to execute goal pl.project13.maven:git-commit-id-plugin:2.2.3:revision (get-the-git-infos) on project ...: Could not complete Mojo execution...: Could not initialize repository... User config file ...\.gitconfig invalid org.eclipse.jgit.errors.ConfigInvalidException: Cannot read file ...\.gitconfig: Invalid line in config file -> [Help 1]
Here's the approximate contents of my entire $HOME/.gitconfig file:
name = Karr, David (...)
email = ...@...
I believe the former value of the "name" property was "David M. Karr". What might be happening here?