fix nested progress meters when using git-annex-shell fallback

Caused an ugly blank line when the first progress meter was not used,
but also it may have confused -J display.
This commit is contained in:
Joey Hess 2018-03-12 19:18:47 -04:00
parent 7bed3927ba
commit b96b845ffd
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
3 changed files with 21 additions and 23 deletions

View file

@ -51,8 +51,8 @@ chainGen addr r u c gc = do
{ uuid = u
, cost = cst
, name = Git.repoDescribe r
, storeKey = store protorunner
, retrieveKeyFile = retrieve protorunner
, storeKey = store (const protorunner)
, retrieveKeyFile = retrieve (const protorunner)
, retrieveKeyFileCheap = \_ _ _ -> return False
, removeKey = remove protorunner
, lockContent = Just $ lock withconn runProtoConn u