source-controller/pkg
Hidde Beydals eff40e22e9 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>
2022-02-22 16:31:56 +01:00
..
gcp Drop deprecated `io/ioutil` 2021-11-22 16:31:25 +01:00
git git/libgit2: assert proper test of default branch 2022-02-22 16:31:56 +01:00
sourceignore sourceignore: return err of nested load 2021-11-23 09:51:44 +01:00