hs-git
hs-git copied to clipboard
git protocol and storage in pure haskell
It's been quite some time since `0.3.0` was released  and there have been recent fixes for `MonadFail` and recent GHC releases. Releasing a new version would make that update...
`system-filepath` and `system-fileio` have been deprecated. This removes them and replaces their functions with newer alternatives.
checkDir now doesn't add '.git' on each iteration and properly finds bare repo.
I created a test project with `stack new git-test simple`. I then added the `git` to my project cabal file, and an entry in `stack.yaml` so the package could be...
No idea what's causing this: ``` at error, called at ./Data/Git/Storage/Loose.hs:127:24 in git-0.3.0-f951a9a2c37b8829637ec4038e03e1c55d3a3582a0a989421669543aa35646a0:Data.Git.Storage.Loose * Raised the exception: parseHeader: eitherParseChunk: error: ParseOK (TypeBlob,75472,Nothing) ``` Unfortunately, I can't share my git repo....
It should probably be dropped as a dependency. See: https://hackage.haskell.org/package/system-filepath
It looks like `maybeParseChunks`/`eitherParseChunks` yield different results depending on where the input bytestring's chunk boundaries fall. This will, somewhat unfortunately, surface as `RefNotFound` errors when trying to read an object...