]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
Run status after a fetch in sync.sh.
authorSimon Ruderich <simon@ruderich.org>
Wed, 18 Feb 2009 23:59:28 +0000 (00:59 +0100)
committerSimon Ruderich <simon@ruderich.org>
Wed, 18 Feb 2009 23:59:28 +0000 (00:59 +0100)
So new changes are easily detected.

sync.sh

diff --git a/sync.sh b/sync.sh
index 5745ae57215f7471a897a3f44b3d25fc8f0926b1..88b59e296cddb7a0018ea49c754a1fe14baa003f 100755 (executable)
--- a/sync.sh
+++ b/sync.sh
@@ -43,3 +43,8 @@ for project in `find . -name .git -type d`; do
 
     cd "$pwd"
 done
+
+# Run status after a fetch to see new changes.
+if [ $method = fetch ]; then
+    ./sync.sh status
+fi