aboutsummaryrefslogtreecommitdiffstats
path: root/blame.go
diff options
context:
space:
mode:
Diffstat (limited to 'blame.go')
-rw-r--r--blame.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/blame.go b/blame.go
index 2f0843d..99025fd 100644
--- a/blame.go
+++ b/blame.go
@@ -142,11 +142,11 @@ type blame struct {
graph [][]*object.Commit
}
-// calculte the history of a file "path", starting from commit "from", sorted by commit date.
+// calculate the history of a file "path", starting from commit "from", sorted by commit date.
func (b *blame) fillRevs() error {
var err error
- b.revs, err = References(b.fRev, b.path)
+ b.revs, err = references(b.fRev, b.path)
if err != nil {
return err
}