Commit 9f9fd05f1cb9278a34a265c49c8567b526e48afd

Patrick Steinhardt 2017-05-19T08:59:46

repository: factor out worktree check The check whether a repository is a worktree or not is currently done inside of `git_repository_open_ext`. As we want to extend this function later on, pull it out into its own function `repo_is_worktree` to ease working on it.