diff options
author | 2015-07-07 17:13:50 -0400 | |
---|---|---|
committer | 2015-07-07 17:13:50 -0400 | |
commit | 986b2eb33a8a973cc0690e4dfed0f5b50d0719f9 (patch) | |
tree | 519bb536f18287c8be890aaad6e6ef93639c8825 /doc/todo | |
parent | cfb055f838da0c51a50224bf759b42fb263dcfec (diff) |
unused: --used-refspec can now be configured to look at refs in the reflog. This provides a way to not consider old versions of files to be unused after they have reached a specified age, when the old refs in the reflog expire.
May be slow.
Diffstat (limited to 'doc/todo')
-rw-r--r-- | doc/todo/Deleting_Unused_Files_by_Age.mdwn | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/todo/Deleting_Unused_Files_by_Age.mdwn b/doc/todo/Deleting_Unused_Files_by_Age.mdwn index b72768bca..babcb5633 100644 --- a/doc/todo/Deleting_Unused_Files_by_Age.mdwn +++ b/doc/todo/Deleting_Unused_Files_by_Age.mdwn @@ -11,3 +11,7 @@ I would like to not drop all unused files. > However, I think that many users expect git annex unused to be able to > immediately find and remove a file after it's been deleted. So this > probably needs to be a configurable behavior. --[[Joey]] + +>> Implemented this, `git annex unused --used-refspec=+refs/heads/*:reflog` +>> will consider all head refs as used (the default), plus consider all +>> refs in the reflog as used. [[done]] --[[Joey]] |