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
Johannes Sixt <j.sixt@viscovery.net>
Date
Nov 12, 2007, 08:41 UTC
Message-ID
<4738119F.2030901@viscovery.net>
In-Reply-To
<20071112083352.GA20482@artemis.corp>
Pierre Habouzit schrieb:
Show 11 quoted lines
> 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.

-- Hannes
Previous: Pierre HabouzitNext: Pierre Habouzit
Message 3 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.