Yet another updater test.

This commit is contained in:
Azareal 2018-04-04 10:19:38 +01:00
parent cb3a5e886d
commit 6d3646e399
1 changed files with 1 additions and 0 deletions

View File

@ -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)