8 package = os.environ['PACKAGE']
10 p = subprocess.Popen(['git', 'ls-tree',
13 stdout=subprocess.PIPE,
14 stdin=subprocess.PIPE)
16 t = p.stdout.read().strip().split()
18 if t != [] and t[1] == 'tree':
21 os.execvp('git', ['git', 'commit-tree', tree] + sys.argv[2:])