Make gitosis-init call run_hook.post_update directly.
commit1f3924e2cb86081a5d8a6292c895f15a2664d0da
authorTommi Virtanen <tv@eagain.net>
Tue, 4 Sep 2007 04:16:15 +0000 (3 21:16 -0700)
committerTommi Virtanen <tv@eagain.net>
Tue, 4 Sep 2007 04:16:15 +0000 (3 21:16 -0700)
tree4a658f8db30b4423ca7dc6318870dd021968ac31
parent1dfe84754a1dce077b6228aab551275c34275ea0
Make gitosis-init call run_hook.post_update directly.

This avoids complexity where failing to read the config file in
gitosis-run-hook is non-fatal, but only on the first run. gitosis-init
will take care of config file reading and just pass a RawConfigParser
instance to run_hook.post_update.
gitosis/init.py
gitosis/run_hook.py