Skip to content

Commit 929d193

Browse files
committed
NOTE that downloads from git don't use baseTLSConfig
Should not change behavior. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
1 parent fcca531 commit 929d193

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/download/download.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ func cloneToDirectory(url, dir string) ([]byte, string, error) {
135135
}
136136

137137
logrus.Debugf("fetching repo %q and branch (or commit ID) %q to %q", gitRepo, gitRef, dir)
138-
args := []string{"fetch", "-u", "--depth=1", "origin", "--", gitRef}
138+
args := []string{"fetch", "-u", "--depth=1", "origin", "--", gitRef} // NOTE: this does not respect baseTLSConfig.
139139
cmd = exec.Command("git", args...)
140140
cmd.Dir = dir
141141
combinedOutput, err = cmd.CombinedOutput()

0 commit comments

Comments
 (0)