git: Retry git commands when we get ENOMEM
commitc5a480733f70954f02450ffc0d8fbb33b2814af0
authorDavid Aguilar <davvid@gmail.com>
Sat, 22 Oct 2011 21:31:39 +0000 (22 14:31 -0700)
committerDavid Aguilar <davvid@gmail.com>
Sat, 22 Oct 2011 21:31:39 +0000 (22 14:31 -0700)
tree2670a686bd0ede539b73d5ecb669540fdec3216f
parent5c92c7af4fea0c04564fe637956682d73ea2cfea
git: Retry git commands when we get ENOMEM

We may be temporarily out of memory and thus unable to start
new sub-processeses.  Detect this condition and retry.

Signed-off-by: David Aguilar <davvid@gmail.com>
cola/git.py