diff options
author | Michael Muré <batolettre@gmail.com> | 2020-06-27 22:00:15 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2020-06-27 22:00:15 +0200 |
commit | 939bcd57b9446b9dce78d7a8c3b15fa13e6320f7 (patch) | |
tree | b6f73782f2f400a89fe0a777502a98fe505a080b /repository/git.go | |
parent | 1e3dd82fd619f7b43b3193016232ef69f9707f42 (diff) | |
download | git-bug-939bcd57b9446b9dce78d7a8c3b15fa13e6320f7.tar.gz |
repo: more tests
Diffstat (limited to 'repository/git.go')
-rw-r--r-- | repository/git.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/repository/git.go b/repository/git.go index e4cb57e6..83037307 100644 --- a/repository/git.go +++ b/repository/git.go @@ -337,8 +337,8 @@ func (repo *GitRepo) ListCommits(ref string) ([]git.Hash, error) { } -// ListEntries will return the list of entries in a Git tree -func (repo *GitRepo) ListEntries(hash git.Hash) ([]TreeEntry, error) { +// ReadTree will return the list of entries in a Git tree +func (repo *GitRepo) ReadTree(hash git.Hash) ([]TreeEntry, error) { stdout, err := repo.runGitCommand("ls-tree", string(hash)) if err != nil { |