summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/git-annex-unused.mdwn5
-rw-r--r--doc/git-annex.mdwn5
2 files changed, 9 insertions, 1 deletions
diff --git a/doc/git-annex-unused.mdwn b/doc/git-annex-unused.mdwn
index fbb371995..22fac5b7c 100644
--- a/doc/git-annex-unused.mdwn
+++ b/doc/git-annex-unused.mdwn
@@ -36,7 +36,10 @@ For example, to move all unused data to origin:
is not in the specified refs (and not used by the work tree) will then be
considered unused.
-# REFSPEC
+ The git configuration annex.used-refspec can be used to configure
+ this in a more permanent fashion.
+
+# REFSPEC FORMAT
The refspec format for --used-refspec is a colon-separated list of
additions and removals of refs. For example:
diff --git a/doc/git-annex.mdwn b/doc/git-annex.mdwn
index 3dc54a308..3c2e34429 100644
--- a/doc/git-annex.mdwn
+++ b/doc/git-annex.mdwn
@@ -813,6 +813,11 @@ Here are all the supported configuration settings.
When importfeed is used, it stores additional metadata from the feed,
such as the author, title, etc.
+* `annex.used-refspec`
+
+ This controls which refs `git-annex unused` considers to be used.
+ See REFSPEC FORMAT in [[git-annex-unused]](1) for details.
+
* `annex.queuesize`
git-annex builds a queue of git commands, in order to combine similar