CI to automate build of cargo lockfiles on different Alpine releases for git-annex aports https://gitlab.alpinelinux.org/alpine/aports/-/tree/master/community/git-annex
Find a file
Joey Hess 50fa17aee6
v6: recover from race between git mv and git-annex get/drop
Update pointer file next time reconcileStaged is run to recover from the
race.

Note that restagePointerFile causes git to run the clean filter,
and that will run reconcileStaged. So, normally by the time the git
annex get/drop command finishes, the race has already been dealt with.
It may be that, in some case, that won't happen and the race will be
dealt with at a later point. git-annex could run reconcileStaged at
shutdown if that becomes a problem.

This does not handle the situation where the git mv is committed before
git-annex gets a chance to run again. git commit does run the clean
filter, and that happens to re-inject the content if it was supposed to
be dropped but is still populated. But, the case where the file was
supposed to be gotten but is not populated is not handled yet.

This commit was supported by the NSF-funded DataLad project.
2018-08-22 15:56:43 -04:00
Annex fix race 2018-08-22 15:22:52 -04:00
Assistant added annex.commitmessage 2018-08-02 14:06:06 -04:00
Backend fix migration bug and make fsck warn 2018-05-23 14:07:51 -04:00
Build type signature 2018-08-04 14:21:30 -04:00
CmdLine make --batch honor matching options 2018-08-08 12:07:06 -04:00
Command replace stack trace with an explanation 2018-08-20 21:26:07 -04:00
Config use DynamicConfig to handle cost-command 2017-08-17 14:04:29 -04:00
Database v6: recover from race between git mv and git-annex get/drop 2018-08-22 15:56:43 -04:00
debian git pkt-line format 2018-08-10 14:12:33 -04:00
doc v6: recover from race between git mv and git-annex get/drop 2018-08-22 15:56:43 -04:00
Git avoid update-index race 2018-08-17 16:03:40 -04:00
Limit AssociatedFile newtype 2017-03-10 13:35:31 -04:00
Logs added annex.commitmessage 2018-08-02 14:06:06 -04:00
Messages Fix mangling of --json output of utf-8 characters when not running in a utf-8 locale 2018-04-16 16:21:21 -04:00
P2P enforce retrievalSecurityPolicy 2018-06-21 13:37:01 -04:00
Remote added annex.commitmessage 2018-08-02 14:06:06 -04:00
RemoteDaemon move protocol version stuff to the Net free monad 2018-03-12 15:20:51 -04:00
standalone linux standalone: When LOCPATH is already set, use it instead of the bundled locales. 2018-08-20 12:20:54 -04:00
static Revert "remove newlines from static js and css" 2014-06-13 02:20:39 -04:00
templates version: Added "dependency versions" line. 2017-04-07 18:16:11 -04:00
Test Split Test.hs and avoid optimising it much, to need less memory to compile. 2018-02-18 11:48:48 -04:00
Types Fix wrong sorting of remotes when using -J 2018-08-03 13:10:50 -04:00
Upgrade squelch a couple of warnings about moveAnnex return code 2017-02-28 12:49:17 -04:00
Utility support conditionally excluding queued files 2018-08-16 14:38:37 -04:00
.ghci workaround for ghci fragility in reusing objects compiled with ghc 2012-10-20 16:20:42 -04:00
.gitattributes update changelog location 2016-08-22 23:54:11 -04:00
.gitignore Make Build/BuildVersion update embedded version number 2018-06-26 10:36:54 -04:00
.mailmap alias for Yaroslav @ yahoo to mailmap 2015-09-09 12:38:59 -04:00
Annex.hs avoid insertWith' depreaction warning 2018-04-22 13:28:31 -04:00
Assistant.hs fold Build/SysConfig.hs into BuildInfo via include 2017-12-14 12:46:57 -04:00
Backend.hs more lambda-case conversion 2017-12-05 15:00:50 -04:00
bash-completion.bash update from optparse-applicative output 2017-06-09 11:30:24 -04:00
build.bat let build.bat also be run from cygwin terminal 2015-04-21 14:12:14 -04:00
BuildFlags.hs split BuildInfo and BuildFlags 2018-01-02 13:47:51 -04:00
BuildInfo.hs Make Build/BuildVersion update embedded version number 2018-06-26 10:36:54 -04:00
CHANGELOG v6: recover from race between git mv and git-annex get/drop 2018-08-22 15:56:43 -04:00
CmdLine.hs Make --json and --quiet suppress automatic init messages 2016-09-05 15:34:38 -04:00
Command.hs add --json-error-messages (not yet implemented) 2018-02-19 14:32:15 -04:00
Common.hs finally really add back custom-setup stanza 2017-12-31 16:36:39 -04:00
Config.hs configuration and docs for tracking exports 2017-09-19 13:05:43 -04:00
COPYRIGHT merge spwhitton's s/MIT/Expat/ change 2018-07-11 16:08:23 -04:00
Creds.hs finish git-annex enable-tor 2016-11-29 17:30:27 -04:00
Crypto.hs add KeyVariety type 2017-02-24 15:16:56 -04:00
ghci avoid tab warnings from ghc 8 2016-11-17 13:39:30 -04:00
git-annex.cabal split out modules from Annex.Content 2018-08-22 14:45:53 -04:00
git-annex.hs windows build fix 2018-01-09 11:51:17 -04:00
git-union-merge.hs Always use filesystem encoding for all file and handle reads and writes. 2016-12-24 14:46:31 -04:00
Git.hs Propigate GIT_DIR and GIT_WORK_TREE environment to external special remotes. 2016-05-06 12:26:44 -04:00
Jenkinsfile Revert "debugging strange old version of git-annex in windows installer bundle" 2017-10-26 11:32:04 -04:00
Key.hs Fix mangling of --json output of utf-8 characters when not running in a utf-8 locale 2018-04-16 16:21:21 -04:00
Limit.hs Added --accessedwithin matching option. 2018-08-01 15:34:03 -04:00
Logs.hs implement export.log and resolve export conflicts 2017-08-31 15:47:23 -04:00
Makefile deal with the persistent locpath issue 2018-07-10 12:13:19 -04:00
Messages.hs Added INFO to external special remote protocol. 2018-02-06 13:03:55 -04:00
NEWS update version 2018-06-21 14:56:04 -04:00
README use https 2014-11-06 14:20:10 -04:00
Remote.hs cache remotes via annex-speculate-present 2018-08-01 14:28:05 -04:00
Setup.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
stack-windows.yaml git-annex.cabal: Fix network version. 2018-07-01 13:07:24 -04:00
stack.yaml git-annex.cabal: Fix network version. 2018-07-01 13:07:24 -04:00
Test.hs limit url downloads to whitelisted schemes 2018-06-16 11:57:50 -04:00
Types.hs better dup key with -J fix 2017-10-17 18:48:53 -04:00
Upgrade.hs Avoid backtraces on expected failures when built with ghc 8; only use backtraces for unexpected errors. 2016-11-15 21:29:54 -04:00

git-annex allows managing files with git, without checking the file
contents into git. While that may seem paradoxical, it is useful when
dealing with files larger than git can currently easily handle, whether due
to limitations in memory, checksumming time, or disk space.

For documentation, see doc/ or <https://git-annex.branchable.com/>