From: Matthijs Kooijman Date: Wed, 24 Nov 2010 08:50:30 GMT Subject: Re: Versioning configuration files on a server: fatal: Unable to create '//etc/.git/index.lock': No such file or directory Message-ID: <20101124085030.GB22067@login.drsnuggles.stderr.nl> In-Reply-To: Hi folks, On Wed, Nov 24, 2010 at 03:45:43PM +0700, Nguyen Thai Ngoc Duy wrote: > On Wed, Nov 24, 2010 at 3:01 PM, Ilyas -- wrote: > > The patch bellow for problem 'Versioning configuration files on a > > server: fatal: Unable to create '//etc/.git/index.lock': No such file > > or directory' works fine on FreeBSD/Linux. > > Please fix this problem in upstream. > > I also have another patch to fix this [1]. Hopefully Junio will pick it up soon. The patch sent by Ilyas is mine and it was just a quick hack. Please use the patch sent later by Nguyen instead, it solves the problem properly: > [1] http://article.gmane.org/gmane.comp.version-control.git/161825