Fixed bug in refactor

This commit is contained in:
Nathan Broadbent
2012-01-31 01:15:22 +08:00
parent cf31c9a15e
commit 7fd415bbf4

View File

@@ -77,7 +77,6 @@ git_silent_add_shortcuts() {
if [ -n "$1" ]; then
# Expand args and process resulting set of files.
for file in $(git_expand_args "$@"); do
file=$1
# Use 'git rm' if file doesn't exist and 'ga_auto_remove' is enabled.
if [[ $ga_auto_remove == "yes" ]] && ! [ -e "$file" ]; then
echo -n "# "