aboutsummaryrefslogtreecommitdiff
path: root/doc/git-annex-unused.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-07-07 17:13:50 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-07-07 17:13:50 -0400
commit986b2eb33a8a973cc0690e4dfed0f5b50d0719f9 (patch)
tree519bb536f18287c8be890aaad6e6ef93639c8825 /doc/git-annex-unused.mdwn
parentcfb055f838da0c51a50224bf759b42fb263dcfec (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/git-annex-unused.mdwn')
-rw-r--r--doc/git-annex-unused.mdwn5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/git-annex-unused.mdwn b/doc/git-annex-unused.mdwn
index d54658f8a..f37b60be0 100644
--- a/doc/git-annex-unused.mdwn
+++ b/doc/git-annex-unused.mdwn
@@ -60,6 +60,11 @@ and walking the list in order from left to right.
For example, "+HEAD^" adds "HEAD^".
* Each - is matched against the set of refs accumulated so far.
Any matching refs are removed from the set.
+* "reflog" adds all the refs from the reflog. This will make past versions
+ of files not be considered to be unused until the ref expires from the
+ reflog (by default for 90 days). Note that this may make git-annex unused
+ take some time to complete, it if needs to check every ref from the
+ reflog.
# SEE ALSO