add annex.dbdir (WIP)
WIP: This is mostly complete, but there is a problem: createDirectoryUnder throws an error when annex.dbdir is set to outside the git repo. annex.dbdir is a workaround for filesystems where sqlite does not work, due to eg, the filesystem not properly supporting locking. It's intended to be set before initializing the repository. Changing it in an existing repository can be done, but would be the same as making a new repository and moving all the annexed objects into it. While the databases get recreated from the git-annex branch in that situation, any information that is in the databases but not stored in the branch gets lost. It may be that no information ever gets stored in the databases that cannot be reconstructed from the branch, but I have not verified that. Sponsored-by: Dartmouth College's Datalad project
This commit is contained in:
parent
425deaf615
commit
e60766543f
26 changed files with 152 additions and 104 deletions
|
@ -1228,6 +1228,15 @@ repository, using [[git-annex-config]]. See its man page for a list.)
|
|||
file system. This timeout prevents git-annex waiting forever in such a
|
||||
situation.
|
||||
|
||||
* `annex.dbdir`
|
||||
|
||||
Set to a directory where git-annex should store its sqlite databases.
|
||||
The default location is inside `.git/annex/`.
|
||||
|
||||
Certian filesystems, such as cifs, may not support locking operations
|
||||
that sqlite needs, and setting this to a directory on another filesystem
|
||||
can work around such a problem.
|
||||
|
||||
* `annex.cachecreds`
|
||||
|
||||
When "true" (the default), git-annex will cache credentials used to
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue