Subject: Re: repo consistency under crashes and power failures?

From: Jonathan Nieder <[email-masked]>
Date: Mon, 15 Jul 2013 10:51:42 -0700

Greg Troxel wrote:

> Alternatively, is there somewhere a first-principles analysis vs POSIX
> specs (such as fsyncing object files before updating refs to point to
> them, which I realize has performance negatives)?

You might be interested in the 'core.fsyncobjectfiles' setting.
git-config(1) has details.

Thanks and hope that helps,
Jonathan