From 73a032520493f6b4186185d4826d12edb5614135 Mon Sep 17 00:00:00 2001 From: Tommi Virtanen Date: Mon, 25 Aug 2008 19:55:45 +0300 Subject: Use "git shell" instead of "git-shell", for compatibility with git 1.6. --- gitosis/serve.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3-18-g5258