git-annex/Command
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
..
Add.hs reorder repo parameters last 2011-11-08 16:27:20 -04:00
AddUrl.hs reorder repo parameters last 2011-11-08 16:27:20 -04:00
ConfigList.hs clean up read/show abuse 2011-11-08 00:17:54 -04:00
Copy.hs better limiting of start actions to only run whenAnnexed 2011-11-10 23:45:14 -04:00
Describe.hs lint 2011-11-11 01:52:58 -04:00
Drop.hs better limiting of start actions to only run whenAnnexed 2011-11-10 23:45:14 -04:00
DropKey.hs lockContent in dropkey 2011-11-09 19:47:04 -04:00
DropUnused.hs reorg to allow taking content lock 2011-11-09 16:54:18 -04:00
Find.hs better limiting of start actions to only run whenAnnexed 2011-11-10 23:45:14 -04:00
Fix.hs better limiting of start actions to only run whenAnnexed 2011-11-10 23:45:14 -04:00
FromKey.hs lint 2011-11-11 01:52:58 -04:00
Fsck.hs lint 2011-11-11 01:52:58 -04:00
Get.hs better limiting of start actions to only run whenAnnexed 2011-11-10 23:45:14 -04:00
InAnnex.hs safer inannex checking 2011-11-09 18:33:15 -04:00
Init.hs init: When run in an already initalized repository, and without a description specified, don't delete the old description. 2011-11-12 15:42:52 -04:00
InitRemote.hs cleanup 2011-10-31 17:22:55 -04:00
Lock.hs clean up check selection code 2011-10-29 15:19:05 -04:00
Map.hs map: Support remotes with /~/ and /~user/ 2011-11-11 16:18:53 -04:00
Merge.hs clean up check selection code 2011-10-29 15:19:05 -04:00
Migrate.hs lint 2011-11-11 01:52:58 -04:00
Move.hs lint 2011-11-11 01:52:58 -04:00
PreCommit.hs better limiting of start actions to only run whenAnnexed 2011-11-10 23:45:14 -04:00
RecvKey.hs clean up check selection code 2011-10-29 15:19:05 -04:00
Reinject.hs better limiting of start actions to only run whenAnnexed 2011-11-10 23:45:14 -04:00
Semitrust.hs clean up check selection code 2011-10-29 15:19:05 -04:00
SendKey.hs reorder repo parameters last 2011-11-08 16:27:20 -04:00
Status.hs fix display of semitrusted repos in status 2011-11-16 00:01:07 -04:00
Trust.hs clean up check selection code 2011-10-29 15:19:05 -04:00
Unannex.hs better limiting of start actions to only run whenAnnexed 2011-11-10 23:45:14 -04:00
Uninit.hs improve type signatures with a Ref newtype 2011-11-16 02:41:46 -04:00
Unlock.hs better limiting of start actions to only run whenAnnexed 2011-11-10 23:45:14 -04:00
Untrust.hs clean up check selection code 2011-10-29 15:19:05 -04:00
Unused.hs improve type signatures with a Ref newtype 2011-11-16 02:41:46 -04:00
Upgrade.hs clean up check selection code 2011-10-29 15:19:05 -04:00
Version.hs When not run in a git repository, git-annex can still display a usage message, and "git annex version" even works. 2011-11-16 00:49:09 -04:00
Whereis.hs better limiting of start actions to only run whenAnnexed 2011-11-10 23:45:14 -04:00