git-annex/Types
Joey Hess 234842a347
v7
Install new git hooks in this version.

This does beg the question of what to do if git later gets eg a
post-smudge hook, that could run git-annex smudge --update. I think the
thing to do in that case would be to make git-annex smudge --update
install the new hooks. That way, as the user uses git-annex, the hook
would be created pretty quickly and without needing any extra syscalls
except for when git-annex smudge --update is called.

I considered doing something like that for installation of the
post-checkout and post-merge hooks, which would have avoided the need
for v7. But the only place it was cheap to do it would be in git-annex smudge
which could cheaply notice that smudge.log didn't exist yet and so know
the hooks needed to be installed. But since smudge used to populate pointer
files, it would be quite surprising if a single git checkout/merge failed
to update the work tree, and so that idea didn't work out.

The other reason for v7 is psychological -- users don't need to worry
about whether they might be running an old version of git-annex that
doesn't support their v7 repository very well. And bug reports about
"v6" have gotten a bit of a bad association in my head since they often
hit one of the known limitations and didn't realize it was experimental.

newtyped RepoVersion Int to avoid needing 2 comparisons in
versionSupportsUnlockedPointers etc. Also it's just nicer.

This commit was sponsored by John Pellman on Patreon.
2018-10-25 18:24:23 -04:00
..
ActionItem.hs better dup key with -J fix 2017-10-17 18:48:53 -04:00
AdjustedBranch.hs refactor getCurrentBranch 2018-10-19 17:29:18 -04:00
Availability.hs
Backend.hs annex.maxextensionlength 2018-09-24 12:10:18 -04:00
BranchState.hs
CleanupActions.hs
Command.hs
Concurrency.hs
Creds.hs Added git-remote-tor-annex, which allows git pull and push to the tor hidden service. 2016-11-21 17:27:38 -04:00
Crypto.hs
DeferredParse.hs
DesktopNotify.hs removed the old Android app 2018-10-13 01:41:11 -04:00
Difference.hs removed the old Android app 2018-10-13 01:41:11 -04:00
Distribution.hs adeiu, MissingH 2017-05-16 01:03:52 -04:00
Export.hs add ExportTree table to export db 2017-09-18 13:59:59 -04:00
FileMatcher.hs
GitConfig.hs v7 2018-10-25 18:24:23 -04:00
Group.hs
Key.hs add retrievalSecurityPolicy 2018-06-21 11:36:36 -04:00
KeySource.hs
LockCache.hs
Messages.hs removed the old Android app 2018-10-13 01:41:11 -04:00
MetaData.hs dropdead per-remote metadata 2018-09-05 13:52:46 -04:00
NumCopies.hs
RefSpec.hs Some optimisations to string splitting code. 2017-01-31 19:06:22 -04:00
Remote.hs export appendonly support 2018-08-30 11:18:20 -04:00
RepoVersion.hs v7 2018-10-25 18:24:23 -04:00
ScheduledActivity.hs
StandardGroups.hs
StoreRetrieve.hs
Test.hs removed the old Android app 2018-10-13 01:41:11 -04:00
Transfer.hs reorg 2017-12-14 11:26:59 -04:00
TrustLevel.hs finish fixing inverted Ord for TrustLevel 2018-04-13 15:17:54 -04:00
UrlContents.hs
UUID.hs implementation of peer-to-peer protocol 2016-11-17 18:30:50 -04:00
View.hs