git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Sixt <j6t@kdbg.org>
To: Junio C Hamano <gitster@pobox.com>
Cc: Nanako Shiraishi <nanako3@lavabit.com>, git@vger.kernel.org
Subject: Re: [PATCH] git init: optionally allow a directory argument
Date: Sat, 25 Jul 2009 09:45:18 +0200	[thread overview]
Message-ID: <200907250945.18398.j6t@kdbg.org> (raw)
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

  reply	other threads:[~2009-07-25  7:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-24 21:59 [PATCH] git init: optionally allow a directory argument Nanako Shiraishi
2009-07-24 23:36 ` Junio C Hamano
2009-07-25  3:13   ` Daniel Pittman
2009-07-25  6:41   ` Alex Scarborough
2009-07-25  6:41 ` Junio C Hamano
2009-07-25  7:45   ` Johannes Sixt [this message]
2009-07-25  9:26     ` Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200907250945.18398.j6t@kdbg.org \
    --to=j6t@kdbg.org \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=nanako3@lavabit.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).