Skip to content

Instantly share code, notes, and snippets.

View fbrunel's full-sized avatar

Fred Brunel fbrunel

View GitHub Profile
commit fb7d3f32b283a3847e6f151a06794abd14ffd81b
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date: Thu Jan 21 11:37:38 2010 -0800
Remove diff machinery dependency from read-cache
Exal Sibeaz pointed out that some git files are way too big, and that
add_files_to_cache() brings in all the diff machinery to any git binary
that needs the basic git SHA1 object operations from read-cache.c. Which
is pretty much all of them.