git-serve: Move entry point to a main() method
commit8468b6be4bada275f1fb8836f2fd9c161c103985
authorLukas Fleischer <lfleischer@archlinux.org>
Tue, 20 Sep 2016 06:53:41 +0000 (20 08:53 +0200)
committerLukas Fleischer <lfleischer@archlinux.org>
Thu, 29 Sep 2016 20:07:06 +0000 (29 22:07 +0200)
tree0f577a5f3e763b9ff2435a03bd8b70d8ee0e64da
parentb8318d25873f2294fc04bb98f14fbcbd55a4dc8a
git-serve: Move entry point to a main() method

Move the main program logic of git-serve to a main() method such that it
can be used as a module and easily be invoked by setuptools wrapper
scripts.

Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
git-interface/git-serve.py