diff options
author | Ben Brown <ben@demerara.io> | 2021-10-13 18:51:11 +0100 |
---|---|---|
committer | Ben Brown <ben@demerara.io> | 2021-10-13 18:57:55 +0100 |
commit | 5475de95a694a007a1b7bfb23074401ebcb9cacd (patch) | |
tree | ca18bca1cd67bbbd0eb9832e19a3e02ce6832221 | |
parent | 4f04d3134af3d3dfeb3bab7f5a4745a9c2160064 (diff) | |
download | lorry-controller-5475de95a694a007a1b7bfb23074401ebcb9cacd.tar.gz |
Drop duplicate hard reset
-rw-r--r-- | lorrycontroller/readconf.py | 5 |
1 files changed, 0 insertions, 5 deletions
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) |