diff options
Diffstat (limited to 'modules/git/repo_blame.go')
-rw-r--r-- | modules/git/repo_blame.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/git/repo_blame.go b/modules/git/repo_blame.go index 80ec50e472..5c023554f1 100644 --- a/modules/git/repo_blame.go +++ b/modules/git/repo_blame.go @@ -20,5 +20,5 @@ func (repo *Repository) LineBlame(revision, path, file string, line uint) (*Comm if len(res) < 40 { return nil, fmt.Errorf("invalid result of blame: %s", res) } - return repo.GetCommit(string(res[:40])) + return repo.GetCommit(res[:40]) } |