-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
source-controller/pkg/git does shallow clones when using the go-git implementation, and apparently this causes problems when fetching a branch that has been merged at the origin: #164 So far as I can tell, getting a shallow clone breaks the automation, no matter whether go-git or libgit2 is used for operations after cloning. So: just use libgit2 for cloning, which means non-shallow clones; and, for fetch and push, since there's no functional difference between the implementations for those. Signed-off-by: Michael Bridgen <michael@weave.works>
- Loading branch information
Showing
3 changed files
with
99 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters