summaryrefslogtreecommitdiff
path: root/git/test/test_repo.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2017-09-28 15:02:53 +0200
committerGitHub <noreply@github.com>2017-09-28 15:02:53 +0200
commita5f034355962c5156f20b4de519aae18478b413a (patch)
tree3c9cbcfa01017b309faa61093c202f66c756833e /git/test/test_repo.py
parentfb43244026643e540a2fac35b2997c6aa0e139c4 (diff)
parentd1c40f46bd547be663b4cd97a80704279708ea8a (diff)
downloadgitpython-a5f034355962c5156f20b4de519aae18478b413a.tar.gz
Merge pull request #654 from vathpela/worktrees
worktrees: make non-packed refs also work correctly.
Diffstat (limited to 'git/test/test_repo.py')
-rw-r--r--git/test/test_repo.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/git/test/test_repo.py b/git/test/test_repo.py
index a6be4e66..312e67f9 100644
--- a/git/test/test_repo.py
+++ b/git/test/test_repo.py
@@ -935,6 +935,8 @@ class TestRepo(TestBase):
commit = repo.head.commit
self.assertIsInstance(commit, Object)
+ self.assertIsInstance(repo.heads['aaaaaaaa'], Head)
+
@with_rw_directory
def test_git_work_tree_env(self, rw_dir):
"""Check that we yield to GIT_WORK_TREE"""