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

Re: git-clean won't read global ignore

From
Junio C Hamano <gitster@pobox.com>
Date
Nov 14, 2007, 09:03 UTC
Message-ID
<7vzlxhjj1y.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<473AB508.4090109@op5.se>
Andreas Ericsson <ae@op5.se> writes:
Show 8 quoted lines
> Junio C Hamano wrote:
>> (this is against 'maint', as I was in the middle of
>> something else that is based on 'maint' when I started reading
>> this thread).
>>
>
> That's probably not a bad idea, as it really is a bug, and one
> that can cause data-loss at that.

I agree that "git clean" needs to be fixed in 'maint', but the thing is, setup_standard_excludes() approach would not apply to anything in 'maint', 'master', nor 'next', and it is more of the longer term thing to go together with the git-clean in C.

The scripted version needs to be fixed independently in a way with lessor impact, like the patch Shunichi just posted.

Previous: Andreas EricssonNext: Johannes Schindelin
Message 5 of 16 in “git-clean won't read global ignore”
  1. shunichi fujiNov 13, 2007
  2. Pierre HabouzitNov 13, 2007
  3. Junio C HamanoNov 14, 2007
  4. Andreas EricssonNov 14, 2007
  5. Junio C HamanoNov 14, 2007
  6. Johannes SchindelinNov 14, 2007
  7. Miles BaderNov 15, 2007
  8. Miles BaderNov 15, 2007
  9. Unify the use of standard set of exclude filesJunio C Hamano, Nov 15, 2007
  10. Jeff KingNov 15, 2007
  11. Junio C HamanoNov 15, 2007
  12. Jeff KingNov 15, 2007
  13. Junio C HamanoNov 15, 2007
  14. Matthieu MoyNov 15, 2007
  15. Junio C HamanoNov 15, 2007
  16. Matthieu MoyNov 15, 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.