From: Simon Ruderich Date: Tue, 31 Mar 2009 15:18:36 +0000 (+0200) Subject: sync.sh: Be more compatible. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=331170cef10819abc0f0fa49442a20ac9fd47b09;p=config%2Fdotfiles.git sync.sh: Be more compatible. --- diff --git a/sync.sh b/sync.sh index 95b3c4a..6600c88 100755 --- a/sync.sh +++ b/sync.sh @@ -34,7 +34,7 @@ for project in `find . -name .git -type d`; do # be pushed to the remote hosts). if [ $method = status ]; then # Display a log similar to gitk but for the console. - function git_log() { + git_log() { output=`git log --graph --all --pretty=oneline --color $1` if [ "x$output" != x ]; then echo $2