diff options
Diffstat (limited to 'src/pkg/patch')
-rw-r--r-- | src/pkg/patch/git.go | 2 |
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 } |