[MERGE] working tree stat cache updating during commit.

Robert Collins robertc at robertcollins.net
Mon Sep 22 06:28:58 BST 2008

If commit sees a new file content, it should update the stat cache. This
patch allows it to do that by providing a tree-supplied detail back to
the to caller of record_entry_contents during commit, which is then
passed back to the tree.

I haven't profiled this closely yet, but it should be lightweight as few
files are modified in most commits, and it is a precursor to status not
generating a sha1 when it does not need to. Probably diff() etc will
also want to do this - I'll follow up with that separately.


GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: commit-dirstate-3711.patch
Type: text/x-patch
Size: 45506 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080922/8c1d03fc/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080922/8c1d03fc/attachment-0001.pgp 

More information about the bazaar mailing list