diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2011-12-13 19:16:27 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2011-12-13 19:16:27 +0000 |
commit | 7b1c3dd9e670da2041ff1af415999310f88888ad (patch) | |
tree | c5132538d5da85ed816c7e1f9d93c4a503b838ab /libgo/go/patch/git.go | |
parent | 36cfbee133027429a681ce585643d38228ab1213 (diff) |
libgo: Update to weekly.2011-12-02.
From-SVN: r182295
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. |