rawfilepath conversion

This commit is contained in:
Joey Hess 2023-02-27 15:02:53 -04:00
parent cc32e31161
commit f09e299156
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
6 changed files with 9 additions and 9 deletions

View file

@ -341,7 +341,7 @@ onDel' file = do
topfile <- inRepo (toTopFilePath (toRawFilePath file))
withkey $ flip Database.Keys.removeAssociatedFile topfile
Annex.Queue.addUpdateIndex =<<
inRepo (Git.UpdateIndex.unstageFile file)
inRepo (Git.UpdateIndex.unstageFile (toRawFilePath file))
where
withkey a = maybe noop a =<< catKeyFile (toRawFilePath file)