Fix upcoming Git 2.0 breaking change to git add -A.

This commit is contained in:
Chas Ballew
2014-01-26 01:50:56 -05:00
parent 7db526b295
commit 413351a203
2 changed files with 2 additions and 2 deletions

View File

@@ -233,7 +233,7 @@ git_commit_all() {
local appending=" | \033[0;36mappending '\033[1;36m$APPEND\033[0;36m' to commit message.\033[0m"
fi
echo -e "\033[0;33mCommitting all files (\033[0;31m$changes\033[0;33m)\033[0m$appending"
git_commit_prompt "git add -A"
git_commit_prompt "git add --all ."
else
echo "# No changed files to commit."
fi