Use "git shell" instead of "git-shell", for compatibility with git 1.6.
authorTommi Virtanen <tv@eagain.net>
Mon, 25 Aug 2008 16:55:45 +0000 (19:55 +0300)
committerTommi Virtanen <tv@eagain.net>
Mon, 25 Aug 2008 16:55:45 +0000 (19:55 +0300)
gitosis/serve.py

index 9a91fcb..867249e 100644 (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)