Merge pull request #1031 from mwhudson/update-part-wtf

unset GIT_DIR in update-part.py
This commit is contained in:
Michael Hudson-Doyle 2021-08-20 10:33:14 +12:00 committed by GitHub
commit c96f0302da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -6,6 +6,10 @@ import yaml
part = sys.argv[1] part = sys.argv[1]
# unset GIT_DIR if set (because then the -C arguments we pass to git
# do nothing)
os.environ.pop('GIT_DIR', None)
def r(*args, **kw): def r(*args, **kw):
print('running', args) print('running', args)