]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
Merge commit 'rammstein/master'
authorSimon Ruderich <simon@ruderich.org>
Wed, 18 Feb 2009 20:03:43 +0000 (21:03 +0100)
committerSimon Ruderich <simon@ruderich.org>
Wed, 18 Feb 2009 20:03:43 +0000 (21:03 +0100)
Conflicts:

sync.sh

1  2 
sync.sh

diff --cc sync.sh
index 498a2b3f894b600bd9deb849b6f8ed676e6f5cde,88b59e296cddb7a0018ea49c754a1fe14baa003f..e76ce8e55a149d9af664291dfc6032f9fb06f8fb
+++ b/sync.sh
@@@ -26,13 -26,13 +26,16 @@@ for project in `find . -name .git -typ
      pwd=`pwd`
      cd "$project"
  
+     # Remove .git from repository name.
+     project=`echo "$project" | sed "s|.git||"`
      # Display all commits not in the master branch.
      if [ $method = status ]; then
 -        echo "status of $project"
 -        git log --graph --all --pretty=oneline master..
 +        output=`git log --graph --all --pretty=oneline --color master..`
 +        if [ "x$output" != x ]; then
 +            echo "$project status:"
 +            echo "$output"
 +        fi
      # Fetch from/Push to all remotes.
      else
          for remote in `git remote`; do