]> git.proxmox.com Git - libgit2.git/commit - include/git2/branch.h
branch: implement `git_branch_is_checked_out`
authorPatrick Steinhardt <ps@pks.im>
Fri, 6 Nov 2015 11:08:15 +0000 (12:08 +0100)
committerPatrick Steinhardt <ps@pks.im>
Mon, 13 Feb 2017 10:04:57 +0000 (11:04 +0100)
commite3acd37b70dc6d8f1ff256b99a26b4e0f13701ef
tree157985fb3b0c63d4b477e2102af32a25745ac0be
parent4321595dcb83131675c7b38ac7fec8337476026e
branch: implement `git_branch_is_checked_out`

Implement a new function that is able to determine if a branch is
checked out in any repository connected to the current
repository. In particular, this is required to check if for a
given repository and branch, there exists any working tree
connected to that repository that is referencing this branch.
include/git2/branch.h
src/branch.c