git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] git init: optionally allow a directory argument

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 25, 2009, 09:26 UTC
Message-ID
<7vd47pun9p.fsf@alter.siamese.dyndns.org>
In-Reply-To
<200907250945.18398.j6t@kdbg.org>
Johannes Sixt <j6t@kdbg.org> writes:
Show 11 quoted lines
> 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.
Heh, I knew it ;-)
Thanks.
Previous: Johannes Sixt
Message 7 of 7 in “git init: optionally allow a directory argument”
  1. git init: optionally allow a directory argumentNanako Shiraishi, Jul 24, 2009
  2. Junio C HamanoJul 24, 2009
  3. Daniel PittmanJul 25, 2009
  4. Alex ScarboroughJul 25, 2009
  5. Junio C HamanoJul 25, 2009
  6. Johannes SixtJul 25, 2009
  7. Junio C HamanoJul 25, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.