diff --git a/test/script/srcupdater.py b/test/script/srcupdater.py index c444be2346..168bc7da7c 100755 --- a/test/script/srcupdater.py +++ b/test/script/srcupdater.py @@ -78,6 +78,9 @@ def gitPull(TskOrAutopsy, branch): ccwd = os.path.join("..", "..", "..", "sleuthkit") else: ccwd = os.path.join("..", "..") + print("Resetting " + TskOrAutopsy) + call = ["git", "reset", "--hard"] + subprocess.call(call, stdout=sys.stdout, cwd=ccwd) print("Checking out " + branch) call = ["git", "checkout", branch] subprocess.call(call, stdout=sys.stdout, cwd=ccwd)