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

Re: [PATCH] git-clean: Fix error message if clean.requireForce is not set.

From
Pierre Habouzit <madcoder@debian.org>
Date
Nov 12, 2007, 12:24 UTC
Message-ID
<20071112122423.GB20482@artemis.corp>
In-Reply-To
<4738119F.2030901@viscovery.net>
On Mon, Nov 12, 2007 at 08:41:03AM +0000, Johannes Sixt wrote:
Show 15 quoted lines
> Pierre Habouzit schrieb:
> >On Mon, Nov 12, 2007 at 08:27:35AM +0000, Johannes Sixt wrote:
> >>It was distracting to see this error message:
> >>
> >>    clean.requireForce set and -n or -f not given; refusing to clean
> >>
> >>even though clean.requireForce was not set at all. This patch 
> >>distinguishes
> >>the cases and gives a different message depending on whether the
> >>configuration variable is not set or set to true.
> >  Note that your patch won't apply to next as is :)
> 
> You mean because of the builtinification of git-clean? I was hoping that 
> Shawn (Bohrer) is listening and will update his patch. ;) It has the same 
> problem.
  No, afaict the builtin git-clean isn't in next yet. Though the
git-rev-parse --parseopt-ification is :)
-- 
·O·  Pierre Habouzit
··O                                                madcoder@debian.org
OOO                                                http://www.madism.org
Previous: Johannes SixtNext: Junio C Hamano
Message 4 of 5 in “git-clean: Fix error message if clean.requireForce is not set.”
  1. git-clean: Fix error message if clean.requireForce is not set.Johannes Sixt, Nov 12, 2007
  2. Pierre HabouzitNov 12, 2007
  3. Johannes SixtNov 12, 2007
  4. Pierre HabouzitNov 12, 2007
  5. Junio C HamanoNov 13, 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.