branch.h
8.3 KB
-
branch: implement `git_branch_is_checked_out` · e3acd37b
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.
Patrick Steinhardt committed