]> Cypherpunks.ru repositories - nncp.git/blob - doc/git-bundler.sh
Merge branch 'develop'
[nncp.git] / doc / git-bundler.sh
1 #!/bin/sh -ex
2
3 tmp=$(mktemp)
4 trap "rm -f $tmp" HUP PIPE INT QUIT TERM EXIT
5 read revs
6 cd $HOME/git/$1.git
7 git bundle create $tmp $revs
8 nncp-file -nice $NNCP_NICE $tmp $NNCP_SENDER:$1-$(date '+%Y%M%d%H%m%S').bundle