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)
|
, (unusedTmpMap maps, tmpunused)
|
||||||
]
|
]
|
||||||
where
|
where
|
||||||
search [] = stop
|
search [] = error $ show n ++ " not valid (run git annex unused for list)"
|
||||||
search ((m, a):rest) =
|
search ((m, a):rest) =
|
||||||
case M.lookup n m of
|
case M.lookup n m of
|
||||||
Nothing -> search rest
|
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
|
* Android: gpg is built without --enable-minimal, so it interoperates
|
||||||
better with other gpg builds that may default to using other algorithms
|
better with other gpg builds that may default to using other algorithms
|
||||||
for encryption.
|
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
|
-- 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,
|
Thanks,
|
||||||
John
|
John
|
||||||
|
|
||||||
|
> added a message [[done]] --[[Joey]]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue