From: Johannes Schindelin Date: Wed, 06 Jan 2016 08:50:21 GMT Subject: Re: [PATCH] commit: ensure correct permissions of the commit message Message-ID: In-Reply-To: <20160106082341.GB19117@sigill.intra.peff.net> Hi Peff, On Wed, 6 Jan 2016, Jeff King wrote: > I think fopen_for_writing() is fine, or fopen_truncate(). I like fopen_for_writing() better than fopen_truncate() because it states the intention more clearly. Thanks! Dscho