diff options
author | Joey Hess <joey@kitenet.net> | 2012-09-15 18:30:53 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-09-15 18:30:53 -0400 |
commit | ca45cea113ae45439a138ab9587c26b6b8de6f2d (patch) | |
tree | 42600880a0e7589e5d7b96710610be89dcc1309a /Annex | |
parent | 0b63ee6cd56f57f172695cd25b7c7ec89281ba7e (diff) |
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.
Diffstat (limited to 'Annex')
-rw-r--r-- | Annex/CatFile.hs | 6 |
1 files changed, 0 insertions, 6 deletions
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 |