Commit 2fcb4f2801ef9a1e74b4281a78deae5e25b0ad43

Patrick Steinhardt 2020-06-17T14:09:04

repository: introduce new function to iterate over all worktrees Given a Git repository, it's non-trivial to iterate over all worktrees that are associated with it, including the "main" repository. This commit adds a new internal function `git_repository_foreach_worktree` that does this for us.