comment and associated todo
This commit is contained in:
parent
746b1cb7bc
commit
1970563dd9
2 changed files with 24 additions and 0 deletions
14
doc/todo/find_unused_in_any_commit.mdwn
Normal file
14
doc/todo/find_unused_in_any_commit.mdwn
Normal file
|
@ -0,0 +1,14 @@
|
|||
`git annex unused` only looks at tags and branches. Some users would like
|
||||
to drop any objects that are not pointed to by any commit, but keep any
|
||||
object that any commit ever referenced.
|
||||
|
||||
This could be a switch, like --ever.
|
||||
|
||||
The implementation would need to walk the history of all branches and check
|
||||
all commits. This would tend to be slow. It could look at tags+branches as
|
||||
it does now as a first pass, and only do the slow part if there are objects
|
||||
not referred to by the tags+branches. And, it could stop looking through
|
||||
the whole commit history if there were no more objects to check. Still,
|
||||
gonna be slooow. Another optimisation would be to get only the objects
|
||||
changed by the commit, and not look at the whole tree as it appeared on
|
||||
each commit. --[[Joey]]
|
|
@ -0,0 +1,10 @@
|
|||
[[!comment format=mdwn
|
||||
username="joey"
|
||||
subject="""comment 3"""
|
||||
date="2014-10-31T20:31:39Z"
|
||||
content="""
|
||||
`git-annex unused` looks at what data is used by git branches and tags, but
|
||||
not by other commits. It's a reasonable request and I have made a todo for
|
||||
it: [[todo/find_unused_in_any_commit]] .. But I am unure if it can be
|
||||
implemented to run fast enough to be usable.
|
||||
"""]]
|
Loading…
Add table
Add a link
Reference in a new issue