Message289481
While backporting issue 29656 to get "make patchcheck" to play nice with git PR branches, I discovered an incompatibility between the way "git worktree" works and the assumptions in "patchcheck.py".
Specifically, in a worktree, ".git" is a file, rather than a directory:
$ cat .git
gitdir: /home/ncoghlan/devel/cpython/.git/worktrees/py27
So the current isdir() check should be relaxed to just an exists() check. |
|
Date |
User |
Action |
Args |
2017-03-12 06:13:31 | ncoghlan | set | recipients:
+ ncoghlan |
2017-03-12 06:13:31 | ncoghlan | set | messageid: <1489299211.77.0.0188090534059.issue29798@psf.upfronthosting.co.za> |
2017-03-12 06:13:31 | ncoghlan | link | issue29798 messages |
2017-03-12 06:13:31 | ncoghlan | create | |
|