From ca45cea113ae45439a138ab9587c26b6b8de6f2d Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 15 Sep 2012 18:30:53 -0400 Subject: Revert "add catFileIndex" This interface is not a good idea, because a running git cat-file --batch does not notice when existing files in the index are changed. --- Annex/CatFile.hs | 6 ------ 1 file changed, 6 deletions(-) (limited to 'Annex') diff --git a/Annex/CatFile.hs b/Annex/CatFile.hs index b22a090e8..88c498d31 100644 --- a/Annex/CatFile.hs +++ b/Annex/CatFile.hs @@ -7,7 +7,6 @@ module Annex.CatFile ( catFile, - catFileIndex, catObject, catObjectDetails, catFileHandle @@ -26,11 +25,6 @@ catFile branch file = do h <- catFileHandle liftIO $ Git.CatFile.catFile h branch file -catFileIndex :: FilePath -> Annex L.ByteString -catFileIndex file = do - h <- catFileHandle - liftIO $ Git.CatFile.catFileIndex h file - catObject :: Git.Ref -> Annex L.ByteString catObject ref = do h <- catFileHandle -- cgit v1.2.3