script/autobuild.py: add support git worktree
commit833739c1e8fac68582009450ac34a27695a439f0
authorStefan Metzmacher <metze@samba.org>
Thu, 27 Feb 2020 22:58:42 +0000 (27 23:58 +0100)
committerKarolin Seeger <kseeger@samba.org>
Wed, 3 Mar 2021 10:13:11 +0000 (3 10:13 +0000)
tree751a81a813bf7a138a86b1bb2aa9175b36edc00a
parent237a51d926e1620dd185cd55c3d9dbfb443b44e8
script/autobuild.py: add support git worktree

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit f9374d0a4ecc11acc46884feec28d138accc6dab)
script/autobuild.py