summaryrefslogtreecommitdiffstats
path: root/modules/git/commit_info.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/git/commit_info.go')
-rw-r--r--modules/git/commit_info.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/git/commit_info.go b/modules/git/commit_info.go
index 3fa80457ac..d8bf88a47c 100644
--- a/modules/git/commit_info.go
+++ b/modules/git/commit_info.go
@@ -25,7 +25,7 @@ func (tes Entries) GetCommitsInfo(commit *Commit, treePath string, cache LastCom
defer commitGraphFile.Close()
}
- c, err := commitNodeIndex.Get(plumbing.Hash(commit.ID))
+ c, err := commitNodeIndex.Get(commit.ID)
if err != nil {
return nil, nil, err
}