Преглед изворни кода

bwc checkout should fetch from all remotes

This is a regression introduced in #25510, which removed the explicit fetching of upstream. Sadly this doesn't work if you don't have any local branch referring to `upstream` as an upstream branch.
Boaz Leskes пре 8 година
родитељ
комит
17a587e709
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      distribution/bwc/build.gradle

+ 1 - 1
distribution/bwc/build.gradle

@@ -101,7 +101,7 @@ if (enabled) {
     onlyIf { project.gradle.startParameter.isOffline() == false }
     dependsOn addUpstream
     workingDir = checkoutDir
-    commandLine = ['git', 'fetch']
+    commandLine = ['git', 'fetch', '--all']
   }
 
   // this is an Exec task so that the SHA that is checked out is logged