[ooo-build-commit] .: bin/g

Jan Holesovsky kendy at kemper.freedesktop.org
Wed Aug 25 00:45:25 PDT 2010


 bin/g |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 353cf82148f16c4cc95a73cfdccbbdc252bd7bce
Author: Jan Holesovsky <kendy at suse.cz>
Date:   Wed Aug 25 09:44:28 2010 +0200

    Push only the relevant repos, don't waste time with the unchanged ones.

diff --git a/bin/g b/bin/g
index d943b16..67a1522 100755
--- a/bin/g
+++ b/bin/g
@@ -120,6 +120,9 @@ for DIR in * ; do
                 commit)
                     git status | grep -qs '^nothing to commit' && exit 0
                     ;;
+                push)
+                    git status | grep -qs '^# Your branch is ahead of' || exit 0
+                    ;;
             esac
 
             echo "===== $DIR ====="


More information about the ooo-build-commit mailing list