A free, self-hostable news aggregator…
Git 2.21 compatiblity (#3669)
Alexandre Alapetitec5ca73706277
diff --git a/app/Controllers/updateController.php b/app/Controllers/updateController.phpindex 6f947d0c6..862fb0cf9 100644--- a/app/Controllers/updateController.php+++ b/app/Controllers/updateController.php@@ -16,7 +16,8 @@ class FreshRSS_update_Controller extends Minz_ActionController {throw new Exception($errorMessage);}- exec('git branch --show-current', $output, $return);+ //Note `git branch --show-current` requires git 2.22++ exec('git symbolic-ref --short HEAD', $output, $return);if ($return != 0) {throw new Exception($errorMessage);}