Use "git shell" instead of "git-shell", for compatibility with git 1.6.
This commit is contained in:
parent
7e407d1013
commit
73a0325204
|
@ -201,6 +201,6 @@ class Main(app.App):
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
main_log.debug('Serving %s', newcmd)
|
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.')
|
main_log.error('Cannot execute git-shell.')
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
Loading…
Reference in a new issue