1
0
mirror of https://github.com/meineerde/dotfiles.git synced 2026-02-06 00:53:23 +00:00

Don't mess with .gitconfig

This commit is contained in:
Holger Just 2012-04-14 12:59:28 +02:00
parent f084d79ef1
commit b9c4a71f56

14
.bashrc
View File

@ -63,20 +63,6 @@ USER_EMAIL="web@meine-er.de"
if [[ $- =~ 'i' ]]; then
# Disable XON/XOFF flow control (^s/^q).
stty -ixon
# Setting up git.
if [[ -f ~/.gitconfig ]]; then
user_name="$(git config --global user.name)"
user_email="$(git config --global user.email)"
if [[ "$user_name" != "$USER_NAME" ]]; then
echo "WARNING: git's user.name is $user_name"
fi
if [[ "$user_email" != "$USER_EMAIL" ]]; then
echo "WARNING: git's user.email is $user_email"
fi
unset user_name user_email
fi
fi
. $DOTFILES/.git_completion