aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/patch
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2011-12-13 19:16:27 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2011-12-13 19:16:27 +0000
commit7b1c3dd9e670da2041ff1af415999310f88888ad (patch)
treec5132538d5da85ed816c7e1f9d93c4a503b838ab /libgo/go/patch
parent36cfbee133027429a681ce585643d38228ab1213 (diff)
downloadgcc-7b1c3dd9e670da2041ff1af415999310f88888ad.zip
gcc-7b1c3dd9e670da2041ff1af415999310f88888ad.tar.gz
gcc-7b1c3dd9e670da2041ff1af415999310f88888ad.tar.bz2
libgo: Update to weekly.2011-12-02.
From-SVN: r182295
Diffstat (limited to 'libgo/go/patch')
-rw-r--r--libgo/go/patch/git.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/patch/git.go b/libgo/go/patch/git.go
index 454eade..5c233fb 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.