comment and warning
This commit is contained in:
parent
4af3dc72c1
commit
a099dc3f6a
2 changed files with 20 additions and 0 deletions
|
@ -0,0 +1,16 @@
|
||||||
|
[[!comment format=mdwn
|
||||||
|
username="joey"
|
||||||
|
subject="""comment 6"""
|
||||||
|
date="2015-07-02T19:14:40Z"
|
||||||
|
content="""
|
||||||
|
Yeah, --prune=now is bad news when using git-annex. At least, if
|
||||||
|
you might be doing it at the same time that git-annex is staging
|
||||||
|
objects in the index.
|
||||||
|
|
||||||
|
Using it in combination with annex.alwayscommit=false is a particularly
|
||||||
|
foot-shootish thing. I've added a warning to its documentation.
|
||||||
|
|
||||||
|
`git gc` uses a lock file, `.git/gc.pid`. It might be possible for
|
||||||
|
git-annex to hold that lock when it's in the process of staging and
|
||||||
|
committing objects, to avoid `git gc` running at such times.
|
||||||
|
"""]]
|
|
@ -862,6 +862,10 @@ Here are all the supported configuration settings.
|
||||||
commit the data by running `git annex merge` (or by automatic merges)
|
commit the data by running `git annex merge` (or by automatic merges)
|
||||||
or `git annex sync`.
|
or `git annex sync`.
|
||||||
|
|
||||||
|
Note that you beware running `git gc` if using this configuration,
|
||||||
|
since it could garbage collect objects that are staged in git-annex's
|
||||||
|
index but not yet committed.
|
||||||
|
|
||||||
* `annex.hardlink`
|
* `annex.hardlink`
|
||||||
|
|
||||||
Set this to `true` to make file contents be hard linked into the
|
Set this to `true` to make file contents be hard linked into the
|
||||||
|
|
Loading…
Reference in a new issue