Explorar o código

Test fixe git distant

stany.ferer hai 3 meses
pai
achega
0ba26221c5
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      core/class/git.class.php

+ 2 - 0
core/class/git.class.php

@@ -43,6 +43,8 @@ class git
         } else {
             $target = "origin/" . $_target;
         }
+
+        exec('git fetch --all --prune');
         $output = [];
         $retval = 0;
         $cmd = 'git log --pretty="%H" -n1 ' . $target;