Remove stateful Runner

This commit is contained in:
Anthony Sottile
2018-12-26 22:33:21 -08:00
parent 1d40cc2104
commit fe409f1a43
17 changed files with 209 additions and 315 deletions

View File

@@ -30,7 +30,7 @@ def get_root():
)
def get_git_dir(git_root):
def get_git_dir(git_root='.'):
opts = ('--git-common-dir', '--git-dir')
_, out, _ = cmd_output('git', 'rev-parse', *opts, cwd=git_root)
for line, opt in zip(out.splitlines(), opts):