From 974251824556a96bd670d48c2ffcf4c0a9c12426 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 19 Mar 2008 16:06:49 -0400 Subject: [PATCH 1/1] simplification --- mr | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/mr b/mr index 87618a2..412209d 100755 --- a/mr +++ b/mr @@ -1183,12 +1183,7 @@ git_bare_test = test "`GIT_CONFIG="$MR_REPO"/config git config --get core.bare`" = true svn_update = svn update "$@" -git_update = - if [ "$@" ]; then - git pull "$@" - else - git pull - fi +git_update = git pull "$@" bzr_update = bzr merge "$@" cvs_update = cvs update "$@" hg_update = hg pull "$@" && hg update "$@" -- 2.39.5