blob: bb9b693e06ff7aa822002f62df0ec6cb20879f93 [file] [log] [blame]
Neels Hofmeyr9316ee72017-11-17 02:15:16 +01001#!/usr/bin/env python3
2
3import sys
4import os
5import subprocess
6
7git_subdirs = []
8
9for subdir in os.listdir():
10 if not os.path.isdir(os.path.join(subdir, '.git')):
11 continue
12
13 print('\n===== %s =====' % subdir)
14 sys.stdout.flush()
15 subprocess.call(['git', '-C', subdir] + sys.argv[1:])
16 sys.stdout.flush()
17 sys.stderr.flush()