Yet another updater test.
This commit is contained in:
parent
cb3a5e886d
commit
6d3646e399
|
@ -68,6 +68,7 @@ func updater(scanner *bufio.Scanner) bool {
|
||||||
return logError(err)
|
return logError(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// The unstaged files are particularly resistant, so blast them away at full force
|
||||||
err = workTree.Reset(&git.ResetOptions{Mode: git.HardReset})
|
err = workTree.Reset(&git.ResetOptions{Mode: git.HardReset})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return logError(err)
|
return logError(err)
|
||||||
|
|
Loading…
Reference in New Issue