projects
/
invirt/scripts/git-migration.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbf05c0
)
Drop the fork, just exec.
author
Evan Broder
<broder@mit.edu>
Mon, 29 Dec 2008 03:18:59 +0000
(22:18 -0500)
committer
Evan Broder
<broder@mit.edu>
Mon, 29 Dec 2008 03:18:59 +0000
(22:18 -0500)
svn path=/trunk/scripts/git-migration/; revision=1938
filter-subdirs
patch
|
blob
|
history
diff --git
a/filter-subdirs
b/filter-subdirs
index
3e44a8d
..
b6a1369
100755
(executable)
--- 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:])