]> git.madduck.net Git - code/myrepos.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

simplification
authorJoey Hess <joey@kodama.kitenet.net>
Wed, 19 Mar 2008 20:06:49 +0000 (16:06 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Wed, 19 Mar 2008 20:06:49 +0000 (16:06 -0400)
mr

diff --git a/mr b/mr
index 87618a22809a33ef03024528d19aa0ceb6c585be..412209dd530f6c2d5133e868f58b4ce2317081e7 100755 (executable)
--- 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 "$@"