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

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
Previous: Junio C HamanoNext: Junio C Hamano
Message 6 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.