mtn2git: Add an example script that can be used to update the git mirror
authorHolger Freyther <zecke@selfish.org>
Mon, 31 Mar 2008 15:58:50 +0000 (15:58 +0000)
committerHolger Freyther <zecke@selfish.org>
Mon, 31 Mar 2008 15:58:50 +0000 (15:58 +0000)
commit68a4b3f162280e551787f56e3808c3b551d90167
tree60e6338ec53edf17544ff671276621492dbea665
parentf9302761ebe835b0059b73e104169837b31f5c14
mtn2git: Add an example script that can be used to update the git mirror
    This is an example as it is using relative paths and needs some changes
    to work for you.
    It assumes that you have a git repository (git-init was ran) and then
    will update it there. Before each update it will clone the git repository
    and copy the old state files into the repository. So in case something
    goes wrong you can do a post mortom. The state files are relatively small
    and the git repository is working with hardlinks so it does not even take
    too much space.
    On first pull you need to run git-repack or git-gc
contrib/mtn2git/update-script.example [new file with mode: 0644]