From a82434c9e6e7d6e1ecf76500c35a4af1c1b666da Mon Sep 17 00:00:00 2001 From: Nathan Broadbent Date: Fri, 21 Oct 2011 17:43:20 +0800 Subject: [PATCH] Fixed commands for git_index --- lib/git/repo_index.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/git/repo_index.sh b/lib/git/repo_index.sh index b915275..8a1b8ce 100644 --- a/lib/git/repo_index.sh +++ b/lib/git/repo_index.sh @@ -56,9 +56,9 @@ function git_index() { if [ "$1" = "--rebuild" ]; then _rebuild_git_index elif [ "$1" = "--update-all" ]; then - _git_index_git_update_all + _git_index_update_all elif [ "$1" = "--batch-cmd" ]; then - _git_index_git_batch_cmd "${@:2:$(($#-1))}" # Pass all args except $1 + _git_index_batch_cmd "${@:2:$(($#-1))}" # Pass all args except $1 elif [ "$1" = "--list" ] || [ "$1" = "-l" ]; then echo -e "$_bld_col$(_git_index_count)$_txt_col Git repositories in $_bld_col$GIT_REPO_DIR$_txt_col:\n" for repo in $(_git_index_dirs_without_home); do