diff options
Diffstat (limited to 'libgo/go/patch/git.go')
-rw-r--r-- | libgo/go/patch/git.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/patch/git.go b/libgo/go/patch/git.go index 454eadececa..5c233fbaebf 100644 --- a/libgo/go/patch/git.go +++ b/libgo/go/patch/git.go @@ -22,7 +22,7 @@ func gitSHA1(data []byte) []byte { h := sha1.New() fmt.Fprintf(h, "blob %d\x00", len(data)) h.Write(data) - return h.Sum() + return h.Sum(nil) } // BUG(rsc): The Git binary delta format is not implemented, only Git binary literals. |