mirror of
https://github.com/reactos/syzkaller.git
synced 2024-11-24 03:49:45 +00:00
pkg/vcs: run git clean with switching commits
Maybe it will help to fix: https://groups.google.com/forum/#!topic/syzkaller-bugs/2lgvlHd8t1c
This commit is contained in:
parent
73964a9b3a
commit
30927cd7ca
@ -145,6 +145,7 @@ func (git *git) clone(repo, branch string) error {
|
||||
func (git *git) reset() {
|
||||
// This function tries to reset git repo state to a known clean state.
|
||||
git.git("reset", "--hard")
|
||||
git.git("clean", "-fd")
|
||||
git.git("bisect", "reset")
|
||||
git.git("reset", "--hard")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user