aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/updateController.php
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <aledeg@users.noreply.github.com> 2019-04-03 08:02:43 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2019-04-03 08:02:43 +0200
commitafd1a8784c2a83426388b39d32703fb82c223f76 (patch)
tree8adcd59239926d0a326a9bfe3cb217f7e60a557f /app/Controllers/updateController.php
parent8599dc29a17da3bdb7fdb264cadc0944f44d9eaf (diff)
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.
Diffstat (limited to 'app/Controllers/updateController.php')
-rw-r--r--app/Controllers/updateController.php2
1 files changed, 1 insertions, 1 deletions
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 {