• Show log

    Commit

  • Hash : e71505b3
    Author : Kevin Saul
    Date : 2021-07-11T21:24:25

    repo: fix worktree iteration when repo has no common directory
    
    When applying an operation to a repository created without a common directory,
    which is known to occur in scenarios where custom odb/refdb backends are used,
    git_repository_foreach_worktree currently asserts while attempting to open the
    repository located in the common directory.
    
    Fix this issue by applying operation to repository supplied when there are no
    linked worktrees to iterate (implied by common directory being empty).