[issue29798] Handle "git worktree" in "make patchcheck"
STINNER Victor
report at bugs.python.org
Mon Mar 27 08:59:28 EDT 2017
STINNER Victor added the comment:
Tools/scripts/patchcheck.py still checks isdir() in get_base_branch():
@status("Getting base branch for PR",
info=lambda x: x if x is not None else "not a PR branch")
def get_base_branch():
if not os.path.isdir(os.path.join(SRCDIR, '.git')):
# Not a git checkout, so there's no base branch
return None
...
Was it deliberate to not change this line?
----------
nosy: +haypo
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29798>
_______________________________________
More information about the Python-bugs-list
mailing list