From c956ff2492bfc55db3f1013caf6ea77fc08f2678 Mon Sep 17 00:00:00 2001 From: Jeromy Date: Sun, 5 Nov 2017 06:50:46 -0800 Subject: [PATCH] small typo in git plugin License: MIT Signed-off-by: Jeromy --- plugin/plugins/git/git.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/plugins/git/git.go b/plugin/plugins/git/git.go index 7096c1267..d9c09395b 100644 --- a/plugin/plugins/git/git.go +++ b/plugin/plugins/git/git.go @@ -53,7 +53,7 @@ func parseRawGit(r io.Reader, mhType uint64, mhLen int) ([]format.Node, error) { } if mhLen != -1 && mhLen != mh.DefaultLengths[mh.SHA1] { - return nil, fmt.Errorf("invalid mhLen %d", mhType) + return nil, fmt.Errorf("invalid mhLen %d", mhLen) } nd, err := git.ParseObject(r)