BrewPi / brewpi-tools

Various tools to setup/update/configure BrewPi
GNU General Public License v3.0
39 stars 46 forks source link

Git stash fails when user.name and user.email are not set #8

Closed elcojacobs closed 11 years ago

elcojacobs commented 11 years ago

On a fresh pi, git stash failed because user.name and user.email were not set in the git config.

When doing a stash, git wants to store the user with the stash and fails.

Most users will probably not have this set up, because they only pull. We need to catch this error and offer an easy way to configure the settings.

vanosg commented 11 years ago

I will tackle this in 5 days, once my current ferment is complete :)

elcojacobs commented 11 years ago

I couldn't wait 5 days, so did it already: https://github.com/BrewPi/brewpi-tools/commit/e9403d27bb5d51e78375eb1122efc7e5db3b878e