clean up uninit output

Don't think including the location of .git/annex/objects in the json is
really useful.
This commit is contained in:
Joey Hess 2023-05-11 13:52:22 -04:00
parent 55dfa929d6
commit 07e0d2a35b
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -104,7 +104,7 @@ removeAnnexDir recordok = do
Annex.Queue.flush
annexdir <- fromRawFilePath <$> fromRepo gitAnnexDir
annexobjectdir <- fromRepo gitAnnexObjectDir
starting ("uninit objects") (ActionItemOther (Just (QuotedPath annexobjectdir))) (SeekInput []) $ do
starting ("uninit objects") (ActionItemOther Nothing) (SeekInput []) $ do
leftovers <- removeUnannexed =<< listKeys InAnnex
prepareRemoveAnnexDir annexdir
if null leftovers