script/bisect-test.py: add support git worktree
authorStefan Metzmacher <metze@samba.org>
Wed, 11 Aug 2021 11:26:41 +0000 (13:26 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 12 Aug 2021 08:07:29 +0000 (08:07 +0000)
commitc7f85146cb50795afcbb1c607e87d163d241c79a
tree2e9074e534b656279c250c4a58b332dcdaaeef6d
parent2e2d2eaa10499537c9af07dd866ac8e613c3da02
script/bisect-test.py: add support git worktree

.git is not always a directory, with 'git worktree' it's a file.

Note we could also use 'git rev-parse --show-toplevel', but that's
a patch for another day.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
script/bisect-test.py