Parcourir la source

Test fixe git distant

stany.ferer il y a 3 mois
Parent
commit
0ba26221c5
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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;