CommitService.TreeEntry: initial implementation
This method allows to retrieve a specific entry in a Git tree, hence itself a tree or a blob, while GetTreeEntries lists the entries in a tree. For instance, on the Rails side, it is currently the method called behind `Blob.find`. The size computation is a bit expensive in case the entry is itself a tree for how useful it is supposed to be. Closes #16
parent
0bce537c
No related branches found
Tags 0.8.1
Showing
- hgitaly/service/commit.py 101 additions, 2 deletionshgitaly/service/commit.py
- hgitaly/service/diff.py 2 additions, 0 deletionshgitaly/service/diff.py
- hgitaly/service/tests/test_commit.py 60 additions, 0 deletionshgitaly/service/tests/test_commit.py
- tests_with_gitaly/test_blob_tree.py 102 additions, 0 deletionstests_with_gitaly/test_blob_tree.py
Loading
Please register or sign in to comment