Re: [PATCH] git init: optionally allow a directory argument
- From
Johannes Sixt <j6t@kdbg.org>
- Date
- Jul 25, 2009, 07:45 UTC
- 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:
Show 8 quoted lines
> +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