aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTommi Virtanen <tv@eagain.net>2007-11-15 17:25:36 +0200
committerTommi Virtanen <tv@eagain.net>2007-11-15 17:25:36 +0200
commita3fc27143a263030b533944dd6f74b6dc267c372 (patch)
treecc4502508e5f5d65d7704c529538072c0aef1628
parentMake repository.export unit tests use --git-dir= too. (diff)
downloadgitosis-gentoo-a3fc27143a263030b533944dd6f74b6dc267c372.tar.gz
gitosis-gentoo-a3fc27143a263030b533944dd6f74b6dc267c372.tar.bz2
gitosis-gentoo-a3fc27143a263030b533944dd6f74b6dc267c372.zip
Make gitosis-serve pass through environment to git-shell.
-rw-r--r--gitosis/serve.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitosis/serve.py b/gitosis/serve.py
index 92f150a..8ada5d3 100644
--- a/gitosis/serve.py
+++ b/gitosis/serve.py
@@ -149,6 +149,6 @@ class Main(app.App):
sys.exit(1)
log.debug('Serving %s', newcmd)
- os.execvpe('git-shell', ['git-shell', '-c', newcmd], {})
+ os.execvp('git-shell', ['git-shell', '-c', newcmd])
log.error('Cannot execute git-shell.')
sys.exit(1)