From 0d20548e3846cb80acca07fad2a1dc3cfe024528 Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Fri, 8 Dec 2023 06:27:15 +0100 Subject: chore: drop tree-grepper Regresses in that we only support Haskell for now, as Elm, Nix or Bash are not available as tree-sitter-* Haskell packages. --- app/Git.hs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app/Git.hs') diff --git a/app/Git.hs b/app/Git.hs index a3c82fa..d308026 100644 --- a/app/Git.hs +++ b/app/Git.hs @@ -105,6 +105,9 @@ getCommitOf commitHash@(Commit hash) = do } _ -> throwIO E.NoCommits +-- TODO Fix `readTextFileOf` +-- +-- Handle file does not exist in `WorkingTree` case. readTextFileOf :: CommitHash -> FilePath -> IO LT.Text readTextFileOf WorkingTree filePath = LT.readFile filePath readTextFileOf (Commit hash) filePath = -- cgit v1.2.3