From afd1a8784c2a83426388b39d32703fb82c223f76 Mon Sep 17 00:00:00 2001 From: Alexis Degrugillier Date: Wed, 3 Apr 2019 08:02:43 +0200 Subject: Update git command (#2331) I removed an unnecessary option and rewrote a short option to use the long option. I find it's easier to understand long options when you don't type them. --- app/Controllers/updateController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Controllers/updateController.php') diff --git a/app/Controllers/updateController.php b/app/Controllers/updateController.php index 2be644c85..46157960d 100644 --- a/app/Controllers/updateController.php +++ b/app/Controllers/updateController.php @@ -32,7 +32,7 @@ class FreshRSS_update_Controller extends Minz_ActionController { $output = array(); $return = 1; try { - exec('git clean -f -d -f', $output, $return); + exec('git clean -d --force', $output, $return); if ($return == 0) { exec('git pull --ff-only', $output, $return); } else { -- cgit v1.2.3