dropunused, addunused: Complain when asked to operate on a number that does not correspond to any unused key.
This commit is contained in:
parent
1412fe0049
commit
207c9f3c4a
3 changed files with 5 additions and 1 deletions
|
@ -351,7 +351,7 @@ startUnused message unused badunused tmpunused maps n = search
|
|||
, (unusedTmpMap maps, tmpunused)
|
||||
]
|
||||
where
|
||||
search [] = stop
|
||||
search [] = error $ show n ++ " not valid (run git annex unused for list)"
|
||||
search ((m, a):rest) =
|
||||
case M.lookup n m of
|
||||
Nothing -> search rest
|
||||
|
|
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -28,6 +28,8 @@ git-annex (4.20130628) UNRELEASED; urgency=low
|
|||
* Android: gpg is built without --enable-minimal, so it interoperates
|
||||
better with other gpg builds that may default to using other algorithms
|
||||
for encryption.
|
||||
* dropunused, addunused: Complain when asked to operate on a number that
|
||||
does not correspond to any unused key.
|
||||
|
||||
-- Joey Hess <joeyh@debian.org> Tue, 02 Jul 2013 15:40:55 -0400
|
||||
|
||||
|
|
|
@ -8,3 +8,5 @@ What can I do to drop all these unused files eating up i-nodes? Is there a debu
|
|||
|
||||
Thanks,
|
||||
John
|
||||
|
||||
> added a message [[done]] --[[Joey]]
|
||||
|
|
Loading…
Add table
Reference in a new issue