aboutsummaryrefslogtreecommitdiffstats
path: root/repository/repo.go
diff options
context:
space:
mode:
Diffstat (limited to 'repository/repo.go')
-rw-r--r--repository/repo.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/repository/repo.go b/repository/repo.go
index 2eb27e82..4b45a1c5 100644
--- a/repository/repo.go
+++ b/repository/repo.go
@@ -82,6 +82,7 @@ type RepoData interface {
StoreTree(mapping []TreeEntry) (Hash, error)
// ReadTree will return the list of entries in a Git tree
+ // The given hash could be from either a commit or a tree
ReadTree(hash Hash) ([]TreeEntry, error)
// StoreCommit will store a Git commit with the given Git tree