chiark / gitweb /
Call external commands without a shell where possible.
authorYann Dirson <ydirson@altern.org>
Thu, 31 May 2007 22:34:28 +0000 (00:34 +0200)
committerCatalin Marinas <catalin.marinas@gmail.com>
Sat, 2 Jun 2007 22:41:50 +0000 (23:41 +0100)
commit23bb4e8fc7ebcfaac8913048af8c24875d721a7e
tree84fba6216f33dfe9a9ecebfb3ee49e6b40ad68fc
parent22584709bad164032e086e1f29da646c83be916b
Call external commands without a shell where possible.

On my dev box it consistently improves performance when timing the
full testsuite:

before:

user    2m22.509s
sys     0m50.695s

user    2m23.565s
sys     0m49.399s

user    2m23.497s
sys     0m49.675s

after:

user    2m20.261s
sys     0m45.687s

user    2m21.485s
sys     0m46.427s

user    2m20.581s
sys     0m45.367s

Signed-off-by: Yann Dirson <ydirson@altern.org>
stgit/git.py