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.
This commit is contained in:
parent
a51b98cdd5
commit
b11d2f5a8a
7 changed files with 40 additions and 13 deletions
|
@ -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]]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue