X-Git-Url: https://git.madduck.net/code/myrepos.git/blobdiff_plain/b51372df89971475ee443553091e5e09552b0b29..2d6f3db853c1575babfacadcee0d46c3c63b976e:/mr?ds=inline diff --git a/mr b/mr index 11e2a7b..cd0dea7 100755 --- a/mr +++ b/mr @@ -809,7 +809,11 @@ update = if [ -d "$MR_REPO"/.svn ]; then svn update "$@" elif [ -d "$MR_REPO"/.git ]; then - git pull origin master "$@" + if [ -z "$@" ]; then + git pull -t origin master + else + git pull "$@" + fi elif [ -d "$MR_REPO"/.bzr ]; then bzr merge "$@" elif [ -d "$MR_REPO"/CVS ]; then