@@ -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;