From b3184a248263b595b29b5cf42c6edbb5c224870e Mon Sep 17 00:00:00 2001 From: Evan Broder Date: Sun, 28 Dec 2008 22:18:59 -0500 Subject: [PATCH] Drop the fork, just exec. svn path=/trunk/scripts/git-migration/; revision=1938 --- filter-subdirs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/filter-subdirs b/filter-subdirs index 3e44a8d..b6a1369 100755 --- a/filter-subdirs +++ b/filter-subdirs @@ -18,6 +18,4 @@ t = p.stdout.read().strip().split() if t != [] and t[1] == 'tree': tree = t[2] -subprocess.check_call(['git', 'commit-tree', - tree] + sys.argv[2:], - stdin=sys.stdin) +os.execvp('git', ['git', 'commit-tree', tree] + sys.argv[2:]) -- 1.7.9.5