fix absolute filenames fed into --batch and git-annex info
This commit is contained in:
parent
a14168a321
commit
957a87b437
14 changed files with 106 additions and 37 deletions
|
@ -35,7 +35,8 @@ seek o = do
|
|||
giveup "dropkey can cause data loss; use --force if you're sure you want to do this"
|
||||
withKeys (commandAction . start) (toDrop o)
|
||||
case batchOption o of
|
||||
Batch fmt -> batchInput fmt parsekey $ batchCommandAction . start
|
||||
Batch fmt -> batchInput fmt (pure . parsekey) $
|
||||
batchCommandAction . start
|
||||
NoBatch -> noop
|
||||
where
|
||||
parsekey = maybe (Left "bad key") Right . deserializeKey
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue