From 7fd415bbf443e0e89f3ee4a0e0edc61138a4c67b Mon Sep 17 00:00:00 2001 From: Nathan Broadbent Date: Tue, 31 Jan 2012 01:15:22 +0800 Subject: [PATCH] Fixed bug in refactor --- lib/git/status_shortcuts.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/git/status_shortcuts.sh b/lib/git/status_shortcuts.sh index 6a4d8d3..3d64eda 100644 --- a/lib/git/status_shortcuts.sh +++ b/lib/git/status_shortcuts.sh @@ -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 "# "