From: Johannes Sixt Date: Sat, 25 Jul 2009 07:45:18 GMT Subject: Re: [PATCH] git init: optionally allow a directory argument Message-ID: <200907250945.18398.j6t@kdbg.org> In-Reply-To: <7v7hxxz2lt.fsf@alter.siamese.dyndns.org> On Samstag, 25. Juli 2009, Junio C Hamano wrote: > +test_expect_success 'init notices EPERM' ' > + rm -fr newdir && > + ( > + mkdir newdir && > + chmod -w newdir && > + test_must_fail git init newdir/a/b > + ) > +' This test will require POSIXPERM prerequisite. -- Hannes