source-controller/pkg/git
Paulo Gomes 44e166e576
libgit2: dispose git2go objects when error != nil
getBlankRepoAndRemote's callers are responsible for the disposal
of the returned objects. However, the caller does not expect to
need to dispose objects when err != nil, which may result to memory
leaks.

Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-05-11 11:40:09 +01:00
..
gogit Implements no-op before CheckoutTag in gogit 2022-05-11 11:40:07 +01:00
libgit2 libgit2: dispose git2go objects when error != nil 2022-05-11 11:40:09 +01:00
strategy tests: algorithms test coverage for go-git and libgit2 2022-05-09 13:31:54 +01:00
testdata/git/repo tests: algorithms test coverage for go-git and libgit2 2022-05-09 13:31:54 +01:00
git.go libgit2: optimise checkout branch clones 2022-05-11 11:40:04 +01:00
git_test.go pkg/git: Include commit message and URL in error 2022-02-14 21:34:27 +05:30
options.go libgit2: optimise checkout branch clones 2022-05-11 11:40:04 +01:00
options_test.go Add Host field check in AuthOptions.Validate() 2021-10-27 00:43:31 +05:30