repository.h
7.34 KB
-
repo: add git_repository_initialbranch · 4cc3b2cb
Provide a helper function to get the initial branch for a repository, respecting the `init.defaultBranch` configuration option, if set, and returning the "default default" (currently `master`) otherwise.
Edward Thomson committed