Permalink
Browse files

small fix on track

  • Loading branch information...
1 parent 07c8ec5 commit c2e2284b028eea78bbe370925e8ef66bac276ca5 @orefalo committed Mar 3, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 cmds/g2-track.sh
View
@@ -4,7 +4,7 @@ source "$G2_HOME/cmds/color.sh"
if [[ $# -eq 1 ]]; then
[[ $1 != */* ]] && echo_fatal "fatal: $1 is not an upstream branch (ie. origin/xxx)." && exit 1
- "$GIT_EXE" branch --set-upstream-to $1
+ "$GIT_EXE" branch --set-upstream $1
else
echo -e -n "${greenf}"
"$GIT_EXE" for-each-ref --format="local: %(refname:short) <--sync--> remote: %(upstream:short)" refs/heads
@@ -13,4 +13,4 @@ else
echo -e -n "${yellowf}"
"$GIT_EXE" remote -v
echo -e -n "${reset}"
-fi
+fi

0 comments on commit c2e2284

Please sign in to comment.