Use "git shell" instead of "git-shell", for compatibility with git 1.6.

This commit is contained in:
Tommi Virtanen 2008-08-25 19:55:45 +03:00
parent 7e407d1013
commit 73a0325204

View file

@ -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)