Added --update-all-with-notifications command for easier cron invocation
This commit is contained in:
@@ -60,6 +60,9 @@ function git_index() {
|
|||||||
_rebuild_git_index
|
_rebuild_git_index
|
||||||
elif [ "$1" = "--update-all" ]; then
|
elif [ "$1" = "--update-all" ]; then
|
||||||
_git_index_update_all
|
_git_index_update_all
|
||||||
|
elif [ "$1" = "--update-all-with-notifications" ]; then
|
||||||
|
NOTIFY=true
|
||||||
|
_git_index_update_all
|
||||||
elif [ "$1" = "--batch-cmd" ]; then
|
elif [ "$1" = "--batch-cmd" ]; then
|
||||||
_git_index_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
|
elif [ "$1" = "--list" ] || [ "$1" = "-l" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user