1
0
mirror of https://github.com/golang/go synced 2024-10-05 06:11:21 -06:00
go/src/pkg/patch
Adam Langley bac7bc55a6 Add a []byte argument to hash.Hash to allow an allocation to be saved.
This is the result of running `gofix -r hashsum` over the tree, changing
the hash function implementations by hand and then fixing a couple of
instances where gofix didn't catch something.

The changed implementations are as simple as possible while still
working: I'm not trying to optimise in this CL.

R=rsc, cw, rogpeppe
CC=golang-dev
https://golang.org/cl/5448065
2011-12-01 12:35:37 -05:00
..
apply.go src/pkg/[n-z]*: gofix -r error -force=error 2011-11-01 22:05:34 -04:00
git.go Add a []byte argument to hash.Hash to allow an allocation to be saved. 2011-12-01 12:35:37 -05:00
Makefile build: no required environment variables 2010-08-18 10:08:49 -04:00
patch_test.go gofmt -s -w src misc 2010-10-22 10:06:33 -07:00
patch.go src/pkg/[n-z]*: gofix -r error -force=error 2011-11-01 22:05:34 -04:00
textdiff.go src/pkg/[n-z]*: gofix -r error -force=error 2011-11-01 22:05:34 -04:00