git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michael Spang <mspang@uwaterloo.ca>
To: Josh Triplett <josh@freedesktop.org>
Cc: git@vger.kernel.org, Junio C Hamano <junkio@cox.net>
Subject: Re: [PATCH] Add clean.requireForce option, and add -f option to git-clean to override it
Date: Mon, 23 Apr 2007 21:24:29 -0400	[thread overview]
Message-ID: <462D5C4D.3050004@uwaterloo.ca> (raw)
In-Reply-To: <462D4CC8.70006@freedesktop.org>

Josh Triplett wrote:
> +if [ "$disabled" = true ]; then
> +	echo "clean.requireForce set and -n or -f not given; refusing to clean"
> +	exit 1
> +fi

How is it useful to abort completely? Wouldn't it be better to behave like -n unless -f is given?

Cheers,
Michael Spang

  reply	other threads:[~2007-04-24  1:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-24  0:18 [PATCH] Add clean.requireForce option, and add -f option to git-clean to override it Josh Triplett
2007-04-24  1:24 ` Michael Spang [this message]
2007-04-24  2:03   ` Josh Triplett
2007-04-24  2:05     ` Josh Triplett

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=462D5C4D.3050004@uwaterloo.ca \
    --to=mspang@uwaterloo.ca \
    --cc=git@vger.kernel.org \
    --cc=josh@freedesktop.org \
    --cc=junkio@cox.net \
    /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).