git-annex/Git
Joey Hess 9290095fc2 improve type signatures with a Ref newtype
In git, a Ref can be a Sha, or a Branch, or a Tag. I added type aliases for
those. Note that this does not prevent mixing up of eg, refs and branches
at the type level. Since git really doesn't care, except rare cases like
git update-ref, or git tag -d, that seems ok for now.

There's also a tree-ish, but let's just use Ref for it. A given Sha or Ref
may or may not be a tree-ish, depending on the object type, so there seems
no point in trying to represent it at the type level.
2011-11-16 02:41:46 -04:00
..
CatFile.hs improve type signatures with a Ref newtype 2011-11-16 02:41:46 -04:00
LsFiles.hs lint 2011-11-11 01:52:58 -04:00
LsTree.hs improve type signatures with a Ref newtype 2011-11-16 02:41:46 -04:00
Queue.hs reorder repo parameters last 2011-11-08 16:27:20 -04:00
UnionMerge.hs improve type signatures with a Ref newtype 2011-11-16 02:41:46 -04:00