]> git.madduck.net Git - etc/myrepos.git/blobdiff - .mr/base

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:

add crontab without make call yet
[etc/myrepos.git] / .mr / base
index 13f48c28138ca2e9b3d26ed941c2f2222c690f9c..e607d7b463b247b836f0b4b6ec88dad61b517ce6 100644 (file)
--- a/.mr/base
+++ b/.mr/base
@@ -17,6 +17,9 @@ checkout = git_fake_bare_checkout 'ssh://git.madduck.net/srv/git/git.madduck.net
 [.fgits/screen.git]
 checkout = git_fake_bare_checkout 'ssh://git.madduck.net/srv/git/git.madduck.net/pub/etc/screen.git' 'screen.git' '../../'
 
 [.fgits/screen.git]
 checkout = git_fake_bare_checkout 'ssh://git.madduck.net/srv/git/git.madduck.net/pub/etc/screen.git' 'screen.git' '../../'
 
+[.fgits/crontab.git]
+checkout = git_fake_bare_checkout 'ssh://git.madduck.net/srv/git/git.madduck.net/pub/etc/crontab.git' 'crontab.git' '../../'
+
 [code/mr]
 checkout = checkout_hack_branch mr \
         joeyh git://git.kitenet.net/mr \
 [code/mr]
 checkout = checkout_hack_branch mr \
         joeyh git://git.kitenet.net/mr \
@@ -25,11 +28,11 @@ checkout = checkout_hack_branch mr \
         git branch vcsh origin/vcsh
 update = case "$(git config --get remote.origin.url)" in
            *git.madduck.net*) git pull "$@";;
         git branch vcsh origin/vcsh
 update = case "$(git config --get remote.origin.url)" in
            *git.madduck.net*) git pull "$@";;
-           *) git remote add joeyh git://git.kitenet.net/mr
+           *) git remote add joeyh git://git.kitenet.net/mr || :
               git fetch joeyh
               git fetch joeyh
-              git checkout -b joeyh joeyh/master
-              git branch -d master
-              git remote rm origin
+              git checkout -b joeyh joeyh/master || :
+              git branch -d master || :
+              git remote rm origin || :
               git remote add origin ssh://git.madduck.net/~/git/pub/code/mr.git
               git fetch origin
               git branch master origin/master
               git remote add origin ssh://git.madduck.net/~/git/pub/code/mr.git
               git fetch origin
               git branch master origin/master