summaryrefslogtreecommitdiff
path: root/test/test_index.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2010-11-23 22:47:34 +0100
committerSebastian Thiel <byronimo@gmail.com>2010-11-23 22:47:34 +0100
commit61f3db7bd07ac2f3c2ff54615c13bf9219289932 (patch)
tree3074927bc62c3b4e1473d24e787836d0dfb3fa21 /test/test_index.py
parenta21a9f6f13861ddc65671b278e93cf0984adaa30 (diff)
downloadgitpython-61f3db7bd07ac2f3c2ff54615c13bf9219289932.tar.gz
Removed ORIG_HEAD handling which was downright wrong. ORIG_HEAD gets only set during merge and rebase, and probably everything that changes the ref more drastically. Probably I have to reread that. What needs to be adjusted though is the reflog
Diffstat (limited to 'test/test_index.py')
-rw-r--r--test/test_index.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/test_index.py b/test/test_index.py
index 78a868c7..5d227897 100644
--- a/test/test_index.py
+++ b/test/test_index.py
@@ -422,7 +422,6 @@ class TestIndex(TestBase):
# same index, no parents
commit_message = "index without parents"
commit_no_parents = index.commit(commit_message, parent_commits=list(), head=True)
- assert SymbolicReference(rw_repo, 'ORIG_HEAD').commit == cur_commit
assert commit_no_parents.message == commit_message
assert len(commit_no_parents.parents) == 0
assert cur_head.commit == commit_no_parents