]> granicus.if.org Git - python/commit
bpo-29798: Handle git worktree in patchcheck
authorNick Coghlan <ncoghlan@gmail.com>
Sun, 9 Apr 2017 09:22:50 +0000 (19:22 +1000)
committerGitHub <noreply@github.com>
Sun, 9 Apr 2017 09:22:50 +0000 (19:22 +1000)
commitc82d39479a88154bd72a3a304be5f473c118da95
tree7d80723a7f2c86aa462e453aae815d1f62d3831f
parente63f8f293a96ceebf06de15b4e1c97dbbff0f6a8
bpo-29798: Handle git worktree in patchcheck

The original attempted fix missed an `isdir()` call in
`get_base_branch()`.
(cherry picked from commit 2abfdf5a81383d3b1ed6b7321903a9a168c373c5)
Tools/scripts/patchcheck.py