git-annex/Command
Joey Hess bf460a0a98 reorder repo parameters last
Many functions took the repo as their first parameter. Changing it
consistently to be the last parameter allows doing some useful things with
currying, that reduce boilerplate.

In particular, g <- gitRepo is almost never needed now, instead
use inRepo to run an IO action in the repo, and fromRepo to get
a value from the repo.

This also provides more opportunities to use monadic and applicative
combinators.
2011-11-08 16:27:20 -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 clean up check selection code 2011-10-29 15:19:05 -04:00
Describe.hs cleanup 2011-10-31 17:22:55 -04:00
Drop.hs clean up check selection code 2011-10-29 15:19:05 -04:00
DropKey.hs cleanup 2011-10-31 17:22:55 -04:00
DropUnused.hs reorder repo parameters last 2011-11-08 16:27:20 -04:00
Find.hs clean up check selection code 2011-10-29 15:19:05 -04:00
Fix.hs Handle a case where an annexed file is moved into a gitignored directory, by having fix --force add its change. 2011-11-07 18:10:31 -04:00
FromKey.hs The fromkey command now takes the key as its first parameter. The --key option is no longer used. 2011-10-31 12:56:07 -04:00
Fsck.hs reorder repo parameters last 2011-11-08 16:27:20 -04:00
Get.hs clean up check selection code 2011-10-29 15:19:05 -04:00
InAnnex.hs clean up check selection code 2011-10-29 15:19:05 -04:00
Init.hs refactor 2011-11-07 16:13:06 -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 reorder repo parameters last 2011-11-08 16:27:20 -04:00
Merge.hs clean up check selection code 2011-10-29 15:19:05 -04:00
Migrate.hs reorder repo parameters last 2011-11-08 16:27:20 -04:00
Move.hs clean up check selection code 2011-10-29 15:19:05 -04:00
PreCommit.hs clean up check selection code 2011-10-29 15:19:05 -04:00
RecvKey.hs clean up check selection code 2011-10-29 15:19:05 -04:00
Reinject.hs better usage 2011-11-07 14:00:23 -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 status: clean up for bare repositories 2011-10-29 19:06:49 -04:00
Trust.hs clean up check selection code 2011-10-29 15:19:05 -04:00
Unannex.hs reorder repo parameters last 2011-11-08 16:27:20 -04:00
Uninit.hs reorder repo parameters last 2011-11-08 16:27:20 -04:00
Unlock.hs reorder repo parameters last 2011-11-08 16:27:20 -04:00
Untrust.hs clean up check selection code 2011-10-29 15:19:05 -04:00
Unused.hs reorder repo parameters last 2011-11-08 16:27:20 -04:00
Upgrade.hs clean up check selection code 2011-10-29 15:19:05 -04:00
Version.hs cleanup 2011-10-31 17:22:55 -04:00
Whereis.hs cleanup 2011-10-31 17:22:55 -04:00