Added --update-all-with-notifications command for easier cron invocation

This commit is contained in:
Nathan Broadbent
2012-10-11 23:51:37 +13:00
parent d3c3640565
commit b92c2da2fc

View File

@@ -60,6 +60,9 @@ function git_index() {
_rebuild_git_index
elif [ "$1" = "--update-all" ]; then
_git_index_update_all
elif [ "$1" = "--update-all-with-notifications" ]; then
NOTIFY=true
_git_index_update_all
elif [ "$1" = "--batch-cmd" ]; then
_git_index_batch_cmd "${@:2:$(($#-1))}" # Pass all args except $1
elif [ "$1" = "--list" ] || [ "$1" = "-l" ]; then