diff options
author | rhatto <rhatto@ratatosk.fluxo.info> | 2014-03-14 13:22:36 -0300 |
---|---|---|
committer | rhatto <rhatto@ratatosk.fluxo.info> | 2014-03-14 13:22:36 -0300 |
commit | 86835f829aacd8466e1fbc908b77de75d722423d (patch) | |
tree | 267030b89cf62817ccd82b731b5a2dd100100657 | |
parent | 3f7f4aa86309ebc44e1097158ec33abda3465945 (diff) | |
download | keyringer-86835f829aacd8466e1fbc908b77de75d722423d.tar.gz keyringer-86835f829aacd8466e1fbc908b77de75d722423d.tar.bz2 |
Use --include at git config
-rwxr-xr-x | keyringer | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -40,8 +40,8 @@ function keyringer_init { fi # Check user configuration: git might complain if those aren't set - if [ -z "`git config --global --get user.name`" ] || [ -z "`git config --global --get user.email`" ]; then - echo "Please chose the name and email address that should identify your changes in the new keyring." + if [ -z "`git config --global --includes --get user.name`" ] || [ -z "`git config --global --includes --get user.email`" ]; then + echo "No git config found, so please chose a name and email address to identify your changes in the new keyring repository." read -p "Enter your desired name/pseudonym: " name read -p "Enter your desired email address: " email |