From 6d3646e399236e764c2ccfd49d072780e0d0c07d Mon Sep 17 00:00:00 2001 From: Azareal Date: Wed, 4 Apr 2018 10:19:38 +0100 Subject: [PATCH] Yet another updater test. --- updater/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/updater/main.go b/updater/main.go index cab29eaa..bf03cde4 100644 --- a/updater/main.go +++ b/updater/main.go @@ -68,6 +68,7 @@ func updater(scanner *bufio.Scanner) bool { return logError(err) } + // The unstaged files are particularly resistant, so blast them away at full force err = workTree.Reset(&git.ResetOptions{Mode: git.HardReset}) if err != nil { return logError(err)