Thread (1 message) 1 message, 1 author, 2016-06-15

Re: performance problem: "git commit filename"

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:44:05

Daniel Barkalow [off-list ref] writes:
On Sat, 12 Jan 2008, Linus Torvalds wrote:
quoted
It makes builtin-commit.c use the same logic that "git read-tree -i -m" 
does (which is what the old shell script did), and it seems to pass the 
test-suite, and it looks pretty obvious.
The only issue I know about with using unpack_trees in C as a replacement 
for read-tree in shell is that unpack_trees leaves "deletion" index 
entries in memory which are not written to disk,...
I do not think you have to worry about that one.  That "to be
deleted" was a Linus invention and he surely remembers it.

write_index() function of course knows about skipping them (they
are marked as !ce->ce_mode).  I think the patch is safe.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help