blob: 3e1cacc805f2b64be7e7572beef6127bc3d73b72 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
[[!comment format=mdwn
username="joey"
subject="""comment 5"""
date="2016-02-19T15:58:17Z"
content="""
When run on a local repository, git-annex info does not look at the
git-annex branch. That would be slower than traversing the directories.
(Asking for info about a remote does look at the git-annex branch.)
git ls-tree does not have to look at files on disk, so is not comprable.
The work `git annex info` does is roughly the same as a du of
.git/annex/objects and a readlink of each symlink in the work tree.
If you just want the .git/annex/objects size, perhaps it would make sense
to have a way to get only one stat from git-annex status. Or perhaps
it would be as good to `du .git/annex/objects`?
"""]]
|