summaryrefslogtreecommitdiff
path: root/src/pkg/patch
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2010-05-07 14:32:34 -0700
committerRob Pike <r@golang.org>2010-05-07 14:32:34 -0700
commit24ba6df00e960d0b6996b613fd936ebf077c6d3b (patch)
treeacb18759d7c845589943d87dc9c5804e62def6cb /src/pkg/patch
parent57fa5e7bb717b100f4e6b169899a465daeb3068f (diff)
downloadgolang-24ba6df00e960d0b6996b613fd936ebf077c6d3b.tar.gz
compress: renamings.
NewDeflater -> NewWriter NewInflater -> NewReader Deflater -> Compressor Inflater -> Decompressor R=rsc CC=golang-dev http://codereview.appspot.com/1166041
Diffstat (limited to 'src/pkg/patch')
-rw-r--r--src/pkg/patch/git.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/patch/git.go b/src/pkg/patch/git.go
index f366a3e05..3c70d8ced 100644
--- a/src/pkg/patch/git.go
+++ b/src/pkg/patch/git.go
@@ -91,7 +91,7 @@ func ParseGitBinary(raw []byte) (Diff, os.Error) {
if n, _, ok := atoi(first, "literal ", 10); ok && sawBinary {
data := make([]byte, n)
d := git85.NewDecoder(bytes.NewBuffer(raw))
- z, err := zlib.NewInflater(d)
+ z, err := zlib.NewReader(d)
if err != nil {
return nil, err
}