X-Git-Url: https://git.madduck.net/code/myrepos.git/blobdiff_plain/b51372df89971475ee443553091e5e09552b0b29..1418c08977517227426bbee6ab584e71674fabeb:/mr?ds=sidebyside 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