branch.c
16.7 KB
-
branches: introduce flag to skip enumeration of certain HEADs · efb20825
Right now, the function `git_repository_foreach_head` will always iterate over all HEADs of the main repository and its worktrees. In some cases, it might be required to skip either of those, though. Add a flag in preparation for the following commit that enables this behaviour.
Patrick Steinhardt committed