ketchup is obsolete, everyone should use git; but how on 256MB machine?

From: Pavel Machek
Date: Thu Jul 06 2017 - 17:59:50 EST


I tried using git to clone kernel tree on N900, and could not figure
out how to do that. This machine has 256MB ram... more than enough for
kernel compilation, but apparently not enough for git.

pavel@n900:/data/tmp$ git clone --depth -1
Cloning into 'linux-n900'...
remote: Counting objects: 4003373, done.
remote: Compressing objects: 100% (610717/610717), done.
fatal: Out of memory, calloc failed
fatal: index-pack failed
pavel@n900:/data/tmp$ cat ~/.git/config
packedGitLimit = 32m
packedGitWindowSize = 32m

deltaCacheSize = 32m
packSizeLimit = 0
windowMemory = 32m

[I also tried without --depth option and without .git/config, and with
various settings.]

Any idea how to get it to work?

(cesky, pictures)

Attachment: signature.asc
Description: Digital signature