summaryrefslogtreecommitdiff
path: root/src/commit.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2017-05-19 08:59:46 +0200
committerPatrick Steinhardt <ps@pks.im>2017-05-19 09:01:21 +0200
commit9f9fd05f1cb9278a34a265c49c8567b526e48afd (patch)
tree38948cd625b15702c9289d2405ca663818ada825 /src/commit.c
parent32841973f1ee4d6432206b333a9907f3d14a5307 (diff)
downloadlibgit2-9f9fd05f1cb9278a34a265c49c8567b526e48afd.tar.gz
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.
Diffstat (limited to 'src/commit.c')
0 files changed, 0 insertions, 0 deletions