diff options
-rwxr-xr-x | wiki | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -8,6 +8,8 @@ WIKI_LIST=$(ls $WIKIROOT | grep -v html) wiki_list="" +alias git='git -c color.status=always' + # # Adds all files to git, and commits with either the arguments as # message, or with the current time as the message. @@ -62,7 +64,7 @@ function wiki_do { echo "-- $wiki --" ;; *) - eval "git $@" + eval "git -c color.status=always $@" ;; esac } @@ -120,8 +122,8 @@ fi # Run given command for all wikis for wiki in ${wiki_list:-$WIKI_LIST}; do - echo "== $wiki ==" - wiki_do $wiki $@ & + wiki_do $wiki $@ | sed "s/^/$wiki /" & done + wait |