Re: Bug: .gitconfig folder
- From
Jeff King <peff@peff.net>
- Date
- May 28, 2015, 06:13 UTC
- Message-ID
- <20150528061327.GA3688@peff.net>
- In-Reply-To
- <CAGZ79kbGyZLx=UYCi5JeSLj7keMhcX_eH3qtWs3O+PidRjye4w@mail.gmail.com>
On Wed, May 27, 2015 at 03:24:47PM -0700, Stefan Beller wrote:
> What is our thinking for after-fact recovery attempts? > Like we try the mmap first, if that fails we just use open to get the > contents of > the file. And when open fails, we can still print a nice error message?
For config, I think we could just open and read the file in the first place. The data is not typically very big (and if you have a 3G config file and git barfs with "out of memory", I can live with that).
-Peff