From 5475de95a694a007a1b7bfb23074401ebcb9cacd Mon Sep 17 00:00:00 2001 From: Ben Brown Date: Wed, 13 Oct 2021 18:51:11 +0100 Subject: Drop duplicate hard reset --- lorrycontroller/readconf.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'lorrycontroller') diff --git a/lorrycontroller/readconf.py b/lorrycontroller/readconf.py index 02f11a2..38b9a7f 100644 --- a/lorrycontroller/readconf.py +++ b/lorrycontroller/readconf.py @@ -116,11 +116,6 @@ class ReadConfiguration(lorrycontroller.LorryControllerRoute): # The following sequence makes the working tree mirror # current upstream git repository as closely as possible. - # Get rid of any local changes. No human is meant to edit - # anything locally, but there may be remnants of failed - # runs. - cliapp.runcmd(['git', 'reset', '--hard'], cwd=confdir) - # Get rid of any files not known by git. This might be, # say, core dumps. cliapp.runcmd(['git', 'clean', '-fdx'], cwd=confdir) -- cgit v1.2.1