chrisparnin / autogit

Automatic git checkins
MIT License
83 stars 8 forks source link

Name config #7

Open chrisparnin opened 10 years ago

chrisparnin commented 10 years ago

If there is no user name configured in git, the following error occurs:

I am using autogit in Sublime text 2 and while saving any code in sublime text 2 I see this error in my console: " File "/Users/mchheda/Library/Application Support/Sublime Text 2/Packages/autogit/site- packages/dulwich/repo.py", line 1170, in _get_user_identity config.get(("user", ), "name"), File "/Users/mchheda/Library/Application Support/Sublime Text 2/Packages/autogit/site-packages/dulwich/config.py", line 354, in get raise KeyError(name) KeyError: 'name'"

The following is a temporary workaround:

git config --global user.name "John Doe"