sbt-assembly icon indicating copy to clipboard operation
sbt-assembly copied to clipboard

Unable to clone due to malformed object

Open ryan-williams opened this issue 9 years ago • 1 comments

$ git clone [email protected]:sbt/sbt-assembly.git
Cloning into 'sbt-assembly'...
remote: Counting objects: 2687, done.
error: object 63548afe98fb2986e87f633d0a85846416eab689: badDate: invalid author/committer line - bad date
fatal: Error in object
fatal: index-pack failed

I don't see anything obviously wrong with https://github.com/sbt/sbt-assembly/commit/63548afe98fb2986e87f633d0a85846416eab689.

Some discussion of a similar issue is here https://github.com/alanxz/rabbitmq-c/issues/372.

I was able to work around it by doing:

git config --global transfer.fsckObjects false

After cloning, I set that setting back to true; hopefully that's the last I hear of it…

ryan-williams avatar Nov 21 '16 20:11 ryan-williams

Confirmed, except I also needed

git config --global fetch.fsckObjects false

as a workaround

huitseeker avatar Dec 05 '17 05:12 huitseeker