fix file corruption regression in 'got checkout' caused by commit db696021
commitb490237f809cf7593cfa7de0bbb48050e27993a6
authorStefan Sperling <stsp@stsp.name>
Tue, 11 Jan 2022 15:37:06 +0000 (11 15:37 +0000)
committerThomas Adam <thomas@xteddy.org>
Wed, 12 Jan 2022 21:11:53 +0000 (12 21:11 +0000)
tree069724a609a0f36e89a5ea73216be653e0af7306
parent1944573a096bbe0d2b80dd1644f01383b9353af5
fix file corruption regression in 'got checkout' caused by commit db696021

got-read-pack must rewind its files temporary files before reusing them.

Problem reported by naddy
ok tracey naddy
lib/pack.c