diff options
Diffstat (limited to 'src/pkg/patch/git.go')
| -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 63bf2cd74f..7fae216c4e 100644 --- a/src/pkg/patch/git.go +++ b/src/pkg/patch/git.go @@ -63,7 +63,7 @@ func getHex(s []byte) (data []byte, rest []byte) { for i := range data { data[i] = unhex(s[2*i])<<4 | unhex(s[2*i+1]) } - rest = s[n:len(s)]; + rest = s[n:]; return; } |
