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 43a9808292
disable journal read optimisation when alwayscommit=false
The journal read optimisation in aeca7c220 later got fixed in eedd73b84
to stage and commit any files that were left in the journal by a
previous git-annex run. That's necessary for the optimisation to work
correctly. But it also meant that alwayscommit=false started committing
the previous git-annex processes journalled changes, which defeated the
purpose of the config setting entirely.

So, disable the optimisation when alwayscommit=false, leaving the
files in the journal and not committing them. See my comments on the bug
report for why this seemed the best approach.

Also fixes a problem when annex.merge-annex-branches=false and there
are changes in the journal. That config indirectly prevents committing
the journal. (Which seems a bit odd given its name, but it always has..)
So, when there were changes in the journal, perhaps left there due to
alwayscommit=false being set before, the optimisation would prevent
git-annex from reading the journal files, and it would operate with out
of date information.
2020-04-15 13:24:33 -04:00
Annex disable journal read optimisation when alwayscommit=false 2020-04-15 13:24:33 -04:00
Assistant disable journal read optimisation when alwayscommit=false 2020-04-15 13:24:33 -04:00
Backend
Build
CmdLine
Command
Config
Database
debian
doc disable journal read optimisation when alwayscommit=false 2020-04-15 13:24:33 -04:00
Git
Limit
Logs
Messages
P2P
Remote
RemoteDaemon
standalone
static
templates
Test
Types
Upgrade
Utility
.ghci
.gitattributes
.gitignore
.mailmap
Annex.hs
Assistant.hs
Backend.hs
bash-completion.bash
Benchmark.hs
build.bat
BuildFlags.hs
BuildInfo.hs
CHANGELOG
CmdLine.hs
Command.hs
Common.hs
Config.hs
COPYRIGHT
Creds.hs
Crypto.hs
ghci
git-annex.cabal
git-annex.hs
git-union-merge.hs
Git.hs
Jenkinsfile
Key.hs
Limit.hs
Logs.hs
Makefile
Messages.hs
NEWS
README
Remote.hs
Setup.hs
stack-lts-12.14.yaml
stack.yaml
Test.hs
Types.hs
Upgrade.hs

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/>