summaryrefslogtreecommitdiff
path: root/tests/worktree/worktree.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2017-04-04 18:44:43 +0200
committerPatrick Steinhardt <ps@pks.im>2017-04-05 13:50:38 +0200
commit38fc5ab0a235bdb2c35d0ddb3193840c088662a3 (patch)
tree4b805b4d30ca5df3d860e7b30b8a9051bae74837 /tests/worktree/worktree.c
parent74511aa2041b16b856932b53565c6a1127d0f8be (diff)
downloadlibgit2-38fc5ab0a235bdb2c35d0ddb3193840c088662a3.tar.gz
branch: use `foreach_head` to see if a branch is checked out
Previously, we have extracted the logic to find and iterate over all HEADs of a repository. Use this function in `git_branch_is_checked_out`.
Diffstat (limited to 'tests/worktree/worktree.c')
0 files changed, 0 insertions, 0 deletions