Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git/libgit2: assert proper test of default branch
If there is no configuration set for `init.defaultBranch`, it does not return an error but an empty string. We now take this into account so we do not overwrite the default, and make the default `master` to match with libgit2 defaults. In addition, some comments have been added to not get confused about what commits we are checking against. Signed-off-by: Hidde Beydals <hello@hidde.co>
- Loading branch information