Skip to content

Commit 2f7776c

Browse files
sturmianseqoskar456
authored andcommitted
Reverting the latest commit to avoid state pollution
1 parent 498d4a8 commit 2f7776c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test_dzonegit.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ def test_get_head(git_dir):
2727
subprocess.call(["git", "add", "dummy"])
2828
subprocess.call(["git", "commit", "-m", "dummy"])
2929
assert dzonegit.get_head() != "4b825dc642cb6eb9a060e54bf8d69288fbee4904"
30+
subprocess.call(["git", "update-ref", "-d", "HEAD"])
3031

3132

3233
def test_check_whitespace_errors(git_dir):

0 commit comments

Comments
 (0)