]> gitweb.fluxo.info Git - scripts.git/commitdiff
Commit script should require an 'all' remote
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 17 Apr 2014 22:27:38 +0000 (19:27 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 17 Apr 2014 22:27:38 +0000 (19:27 -0300)
commit

diff --git a/commit b/commit
index 94eba0f65817ae37c46838c9677c7160559730aa..3a8e5d89ad8149bde5ce0fb7e9bd6e80580f92ec 100755 (executable)
--- a/commit
+++ b/commit
@@ -80,7 +80,9 @@ function git_push {
   elif git remote | grep -q 'all'; then
     git push all --all
   elif git remote | grep -q 'origin'; then
-    git push --all
+    echo "Please configure the 'all' repository first."
+    exit 1
+    #git push --all
   fi
 }