diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-07-02 15:21:25 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-07-02 15:21:25 -0400 |
commit | ce70ef70e630882c0703852bc04415d67be9e87c (patch) | |
tree | 964e4d6adc1c73cbef62796b9b0759d7521f8ac0 /doc/bugs | |
parent | 75692a31ecaa1b23429af912fad93762c2e5840e (diff) |
comment and warning
Diffstat (limited to 'doc/bugs')
-rw-r--r-- | doc/bugs/Corrupted_.git__47__annex__47__index_when_running_assistant/comment_6_f0999dbd00e06ab2cbf68b58527c2b9b._comment | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/bugs/Corrupted_.git__47__annex__47__index_when_running_assistant/comment_6_f0999dbd00e06ab2cbf68b58527c2b9b._comment b/doc/bugs/Corrupted_.git__47__annex__47__index_when_running_assistant/comment_6_f0999dbd00e06ab2cbf68b58527c2b9b._comment new file mode 100644 index 000000000..f11e80bbe --- /dev/null +++ b/doc/bugs/Corrupted_.git__47__annex__47__index_when_running_assistant/comment_6_f0999dbd00e06ab2cbf68b58527c2b9b._comment @@ -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. +"""]] |