X-Git-Url: https://git.madduck.net/code/myrepos.git/blobdiff_plain/929e9fbde36477b2a66b1b0db5fedbaac397c012..2d6f3db853c1575babfacadcee0d46c3c63b976e:/mr?ds=sidebyside diff --git a/mr b/mr index 4630f06..cd0dea7 100755 --- a/mr +++ b/mr @@ -108,6 +108,10 @@ To show the command that mr uses to update the repository in src/foo: mr config src/foo update +To see the built-in library of shell functions contained in mr: + + mr config DEFAULT lib + The ~/.mrconfig file is used by default. To use a different config file, use the -c option. @@ -805,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