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

Re: [PATCH] Add clean.requireForce option, and add -f option to git-clean to override it

From
MSMichael Spang <mspang@uwaterloo.ca>
Date
Apr 24, 2007, 01:24 UTC
Message-ID
<462D5C4D.3050004@uwaterloo.ca>
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

Previous: Josh TriplettNext: Josh Triplett
Message 2 of 4 in “Add clean.requireForce option, and add -f option to git-clean to override it”
  1. Add clean.requireForce option, and add -f option to git-clean to override itJosh Triplett, Apr 24, 2007
  2. Michael SpangApr 24, 2007
  3. Josh TriplettApr 24, 2007
  4. Josh TriplettApr 24, 2007

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.