mention index mode explicitly
authorJoey Hess <joeyh@joeyh.name>
Mon, 10 May 2021 19:21:23 +0000 (15:21 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 10 May 2021 19:21:23 +0000 (15:21 -0400)
doc/git-annex-unused.mdwn

index faca681657cdbfb0399d759a1be0e67c28e8c800..e4a4d808f646bcbbab9550b7c31b5fc4edf3311f 100644 (file)
@@ -9,7 +9,8 @@ git annex unused
 # DESCRIPTION
 
 Checks the annex for data that does not correspond to any files present
-in any tag or branch, and prints a numbered list of the data.
+in any tag or branch, or in the git index, and prints a numbered list
+of the data.
 
 After running this command, you can use the `--unused` option with many 
 other git-annex commands to operate on all the unused data that was found.
@@ -33,10 +34,10 @@ For example, to move all unused data to origin:
 
 * `--used-refspec=+ref:-ref`
 
-  By default, any data that the work tree uses, or that any refs in the git
+  By default, any data that the git index uses, or that any refs in the git
   repository point to is considered to be used. If you only want to use
   some refs, you can use this option to specify the ones to use. Data that
-  is not in the specified refs (and not used by the work tree) will then be
+  is not in the specified refs (and not used by the index) will then be
   considered unused.
 
   The git configuration annex.used-refspec can be used to configure