Skip to content

Commit e4bbc7a

Browse files
committed
correct way to get the latest commit tree
1 parent 3cda530 commit e4bbc7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_quick_doc.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def test_cloned_repo_object(self, local_dir):
113113

114114
# Latest commit tree
115115
# [12-test_cloned_repo_object]
116-
tree = repo.tree()
116+
tree = repo.head.commit.tree
117117
# ![12-test_cloned_repo_object]
118118

119119
# Previous commit tree

0 commit comments

Comments
 (0)