]> gitweb.fluxo.info Git - scripts.git/commitdiff
Fixing git-subtree-update
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 14 Feb 2014 14:17:50 +0000 (12:17 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 14 Feb 2014 14:17:50 +0000 (12:17 -0200)
git-subtree-update

index f0ad28e7f88d199d4ce63d0be68b0c428015ab0c..af45ed69ce3de8b212987773e0f20d6985778d4a 100755 (executable)
@@ -15,7 +15,7 @@ if [ -z "$2" ]; then
 fi
 
 # Check remote
-if ! git remote | grep -qe '^remote'; then
+if ! git remote | grep -qe "^$REMOTE"; then
   echo "fatal: no such remote $REMOTE"
   exit
 fi