Merge pull request #1031 from mwhudson/update-part-wtf
unset GIT_DIR in update-part.py
This commit is contained in:
commit
c96f0302da
|
@ -6,6 +6,10 @@ import yaml
|
|||
|
||||
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):
|
||||
print('running', args)
|
||||
|
|
Loading…
Reference in New Issue