]> arthur.barton.de Git - bup.git/commit
cmd-index/cmd-save: correctly mark directories as dirty/clean.
authorAvery Pennarun <apenwarr@gmail.com>
Tue, 9 Feb 2010 01:28:51 +0000 (20:28 -0500)
committerAvery Pennarun <apenwarr@gmail.com>
Tue, 9 Feb 2010 06:01:20 +0000 (01:01 -0500)
commita4f8c17380f3d28be576e84bb1fd3c1abfb450d5
tree3b77ddd0ec50a634c4235d89c4ddd13934d9e295
parent8584edb60cb6e5412622addd4f165a5be19f6a70
cmd-index/cmd-save: correctly mark directories as dirty/clean.

Previously, we just ignored the IX_HASHVALID on directories, and regenerated
their hashes on every backup regardless.  Now we correctly save directory
hashes and mark them IX_HASHVALID after doing a backup, as well as removing
IX_HASHVALID all the way up the tree whenever a file is marked as invalid.
cmd-index.py
cmd-save.py
index.py
t/test.sh
t/tindex.py