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.
1 # An example config file for the mr(1) command.
3 # This is fairly close to the config file used by the author
4 # although slightly cut down.
7 # Include all available libs.
8 include = cat /usr/share/mr/* 2>/dev/null || true
9 # Teach mr to run a few git and svn specific commands.
10 svn_cleanup = svn cleanup "$@"
13 svn_tag = svn ls "$(LC_ALL=C svn info . | grep -i ^URL: | cut -d ' ' -f 2 | sed -e 's/trunk/tags/')"
14 # I prefer to git-svn rebase to fetch
15 git_svn_update = git svn rebase
17 # - anon checks whether this is an anonymous checkout, by testing what url
19 # - full checks whether I probably want a full checkout (quite large),
20 # if not, the checkout is minimal
21 # - on checks whether the given host basename is one of the listed
22 # values. A value can also have a username in it, ie "joey@dodo".
23 # - mylaptop only succeeds if it's on my main development laptop, which
24 # gets lots of extra cruft
26 hostname="$(hostname)"
29 ( GIT_CONFIG=$HOME/.git/config git config remote.origin.url || cat .git/remotes/origin ) | grep -q 'git://'
32 test "$whoami" = joey && ! anon
36 if [ "${host%@*}" != "${host#*@}" ]; then
37 if [ "$whoami" != "${host%@*}" ]; then
42 if [ "$hostname" = "$host" ]; then
52 # The root of my home directory.
57 git clone git://git.kitenet.net/joey/home joey
59 git clone ssh://git.kitenet.net/srv/git/kitenet.net/joey/home joey
63 # Dummy target to create Maildir. Doesn't run offlineimap since I have that
64 # cronned on machines where I want it.
67 checkout = mkdir Maildir Maildir/cur Maildir/new Maildir/tmp; chmod 700 Maildir
71 checkout = git clone ssh://joey@git.kitenet.net/srv/git/joey/private/mail
72 # I use mairix to index my mail archive; keep its index up-to-date.
73 fixups = if [ "$(which mairix)" ]; then ionice -c 3 mairix -Q; fi
77 # This is a dummy target, all it does is run fixups at the end of
79 fixups = $HOME/bin/fixups
80 checkout = mkdir -p $HOME/tmp
88 git clone git://git.kitenet.net/joey/home-etc .etc
90 git clone ssh://git.kitenet.net/srv/git/kitenet.net/joey/home-etc .etc
96 git clone git://git.kitenet.net/joey/cron .cron
98 git clone ssh://git.kitenet.net/srv/git/kitenet.net/joey/cron .cron
103 checkout = svn co svn+ssh://joeyh@svn.debian.org/svn/pkg-perl/trunk perl
104 skip = ! mylaptop || ([ "$1" = update ] && ! hours_since "$1" 12)
108 checkout = git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
109 skip = ! mylaptop || ([ "$1" = update ] && ! hours_since "$1" 12)
110 push = error "as if!"
113 # I use etckeeper to keep /etc in git. But it only works if I'm root,
114 # and if it's not already in etc, skip it.
115 skip = ! test -d /etc/.git || ! test "$(whoami)" = root
118 # A merge of the upstream dpkg git repo and my own personal branch.
120 git clone git://git.debian.org/git/dpkg/dpkg.git &&
122 git remote add kite ssh://git.kitenet.net/srv/git/kitenet.net/dpkg &&
124 git checkout -b sourcev3 kite/sourcev3
125 update = git pull origin master && git pull kite sourcev3
126 commit = git commit -a && git push kite
130 [html/www.debian.org]
132 checkout = cvs -d ':ext:joeyh@cvs.debian.org:/cvs/webwml' co -d www.debian.org webwml
133 # cvs sucks sufficiently that I prefer to run these commands by hand,
135 update = echo "skipping cvs update (too slow)"
136 status = echo "skipping cvs status (too ugly)"
137 skip = ! mylaptop || ! full