summaryrefslogtreecommitdiff
path: root/doc/bugs/Corrupted_.git__47__annex__47__index_when_running_assistant/comment_6_f0999dbd00e06ab2cbf68b58527c2b9b._comment
blob: f11e80bbece51a248f45839240a37993439b2cd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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.
"""]]