]> arthur.barton.de Git - bup.git/commit
vfs2: report tree metadata for commits
authorRob Browning <rlb@defaultvalue.org>
Sat, 4 Nov 2017 20:55:23 +0000 (15:55 -0500)
committerRob Browning <rlb@defaultvalue.org>
Sat, 16 Dec 2017 23:29:23 +0000 (17:29 -0600)
commit38a49e9eb930e8a47e9de5a9715fad659a774e8b
treebb33f53658c0b3d08f09f58ec4156e280697f6a0
parentdeb32e64f82e7ee5aa5bc8f6809267c25ff70b78
vfs2: report tree metadata for commits

Don't synthesize metadata for a commit (like /foo, /foo/2017-..., or
/.tag/some-commit) by reporting the author date as the mtime, instead
use the metadata for the underlying commit tree.

Among other things, this avoids an inconsistency between the metadata
for ".../commit" and ".../commit/.".

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
lib/bup/t/tvfs.py
lib/bup/vfs2.py
t/test-ls.sh