src-d / go-git

Project has been moved to: https://github.com/go-git/go-git
https://github.com/go-git/go-git
Apache License 2.0
4.91k stars 541 forks source link

worktree: force convert to int64 to support 32bit os. Fix #1202 #1203

Closed sapk closed 4 years ago

sapk commented 4 years ago

Fix #1202

~Still WIP, since I am currently setting up things to valid the gitea crossbuild with this fix.~

sapk commented 4 years ago

This PR does fix linux/386 builds for gitea

sapk commented 4 years ago

This PR revert a change in https://github.com/src-d/go-git/commit/e5c9c0dd9ff1f42dcdaba7a51919cf43abdb79f9 from #1199 and cherry-picked from #1187