aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTommi Virtanen <tv@eagain.net>2008-08-25 19:55:45 +0300
committerTommi Virtanen <tv@eagain.net>2008-08-25 19:55:45 +0300
commit73a032520493f6b4186185d4826d12edb5614135 (patch)
tree44c7e7f0dca54f55fcc254d0344984fb8390098b
parentAdd a MANIFEST.in to please setuptools sdist. (diff)
downloadgitosis-gentoo-73a032520493f6b4186185d4826d12edb5614135.tar.gz
gitosis-gentoo-73a032520493f6b4186185d4826d12edb5614135.tar.bz2
gitosis-gentoo-73a032520493f6b4186185d4826d12edb5614135.zip
Use "git shell" instead of "git-shell", for compatibility with git 1.6.
-rw-r--r--gitosis/serve.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitosis/serve.py b/gitosis/serve.py
index 9a91fcb..867249e 100644
--- a/gitosis/serve.py
+++ b/gitosis/serve.py
@@ -201,6 +201,6 @@ class Main(app.App):
sys.exit(1)
main_log.debug('Serving %s', newcmd)
- os.execvp('git-shell', ['git-shell', '-c', newcmd])
+ os.execvp('git', ['git', 'shell', '-c', newcmd])
main_log.error('Cannot execute git-shell.')
sys.exit(1)