Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Escape brackets correctly

  • Loading branch information...
commit 78f962a46eccb9b369241a9ce45e68be6362bf28 1 parent 9a1b42e
@jamiew authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  push
View
2  push
@@ -26,7 +26,7 @@ fi
# Parse relevant commit refs and let user know what we did
# 1st-time push to new branch gets special treatment
-if echo $push | grep "[new branch]" >/dev/null; then
+if echo $push | grep "\[new branch\]" >/dev/null; then
refs="master...$branch"
echo "Pushed new branch '$branch' remotely"
else
Please sign in to comment.
Something went wrong with that request. Please try again.