Fixed bug in refactor
This commit is contained in:
@@ -77,7 +77,6 @@ git_silent_add_shortcuts() {
|
|||||||
if [ -n "$1" ]; then
|
if [ -n "$1" ]; then
|
||||||
# Expand args and process resulting set of files.
|
# Expand args and process resulting set of files.
|
||||||
for file in $(git_expand_args "$@"); do
|
for file in $(git_expand_args "$@"); do
|
||||||
file=$1
|
|
||||||
# Use 'git rm' if file doesn't exist and 'ga_auto_remove' is enabled.
|
# Use 'git rm' if file doesn't exist and 'ga_auto_remove' is enabled.
|
||||||
if [[ $ga_auto_remove == "yes" ]] && ! [ -e "$file" ]; then
|
if [[ $ga_auto_remove == "yes" ]] && ! [ -e "$file" ]; then
|
||||||
echo -n "# "
|
echo -n "# "
|
||||||
|
|||||||
Reference in New Issue
Block a user