Doesn't handle the detached HEAD case yet.
Culprit is 31b18dd .
Already a batteries-included dependency.
I'm starting to regret switching to polymorphic variants; those are very weak types and errors appear far from the problem site, because constructors aren't used for type inference anymore. I'd also like to get rid of emacs-style regexes in Str. PCRE would get us thread safety and sensible access to matched groups.
A few redundant typechecks for key functions that match _.
Also a small parens cleanup.
I wonder how this will affect a switch to polymorphic variants.
The size handling was already updated in 5e3d2e8 .
This caused a problem when running git-fs inside the worktree.
Beware: ocamlfuse is GPL2=.