aboutsummaryrefslogtreecommitdiff
path: root/wiki
diff options
context:
space:
mode:
Diffstat (limited to 'wiki')
-rwxr-xr-xwiki8
1 files changed, 5 insertions, 3 deletions
diff --git a/wiki b/wiki
index 9ce12f7..c89228d 100755
--- a/wiki
+++ b/wiki
@@ -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