improve unused command's output

Display the name of the remote being checked, with "." for the current
remote, echoing the way describe takes that to change its description.
This commit is contained in:
Joey Hess 2011-05-28 22:20:22 -04:00
parent fdead6b9bb
commit 25b13673f0
4 changed files with 18 additions and 15 deletions

View file

@ -5,7 +5,7 @@ the checksums of your files are good. Fsck also checks that the annex.numcopies
setting is satisfied for all files.
# git annex fsck
unused (checking for unused data...) ok
fsck some_file (checksum...) ok
fsck my_cool_big_file (checksum...) ok
...

View file

@ -9,7 +9,7 @@ preserving it. So from time to time, you may want to check for such data and
eliminate it to save space.
# git annex unused
unused (checking for unused data...)
unused . (checking for unused data...)
Some annexed data is no longer used by any files in the repository.
NUMBER KEY
1 WORM-s3-m1289672605--file