Merge branch 'master' of ssh://git-annex.branchable.com

This commit is contained in:
Joey Hess 2013-12-16 16:33:17 -04:00
commit 081cfba131
8 changed files with 83 additions and 0 deletions

View file

@ -0,0 +1,12 @@
[[!comment format=mdwn
username="http://joeyh.name/"
ip="209.250.56.87"
subject="comment 11"
date="2013-12-16T17:20:34Z"
content="""
I now understand the problem described in comment 6, where once it started failing, it would leak one file descriptor per failure.
I think that failure mode was fixed by accident in the changes in [[!commit 2fd63f3cfac705f0a18f4bcbe0489ce8ea1800d7]].
This doesn't explain what would open so many files to get it into that failure mode, however.
"""]]

View file

@ -0,0 +1,13 @@
[[!comment format=mdwn
username="http://joeyh.name/"
ip="209.250.56.87"
subject="comment 2"
date="2013-12-16T17:14:06Z"
content="""
It seems that `ls-files --modified` runs the same code path that commit did to see if the file is changed, which here is a cheap
stat, and on your system mmaps and downloads it all.
I cannot see a good way to avoid using `ls-files --modified`.
I think it would be better to fix git.
"""]]

View file

@ -0,0 +1,10 @@
[[!comment format=mdwn
username="http://joeyh.name/"
ip="209.250.56.87"
subject="comment 3"
date="2013-12-16T16:27:28Z"
content="""
You can leave off the -c core.bare=false, if your git does not support it.
That is an exceptionally old version of git. I'm sure it's the problem, so you should upgrade.
"""]]

View file

@ -0,0 +1,10 @@
[[!comment format=mdwn
username="https://www.google.com/accounts/o8/id?id=AItOawnWaZGX4m5Oic-vvIKUJHZLrY5W1G7mtQ4"
nickname="Andrew"
subject="comment 4"
date="2013-12-16T20:16:26Z"
content="""
Built and installed Git 1.8.5 from source and the problem went away.
Thanks!
"""]]

View file

@ -0,0 +1,8 @@
[[!comment format=mdwn
username="https://www.google.com/accounts/o8/id?id=AItOawleVyKk2kQsB_HgEdS7w1s0BmgRGy1aay0"
nickname="Milan"
subject="comment 3"
date="2013-12-16T16:41:08Z"
content="""
Thanks, after the update it works.
"""]]