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

Re: does "git clean" deliberately ignore "core.excludesFile"?

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Feb 24, 2019, 14:15 UTC
Message-ID
<nycvar.QRO.7.76.6.1902241515120.45@tvgsbejvaqbjf.bet>
In-Reply-To
<xmqq5zt9oirx.fsf@gitster-ct.c.googlers.com>
Hi,
On Sat, 23 Feb 2019, Junio C Hamano wrote:
Show 21 quoted lines
> "Robert P. J. Day" <rpjday@crashcourse.ca> writes:
> 
> > On Sat, 23 Feb 2019, Johannes Schindelin wrote:
> >
> >> Robert, care to come up with an example demonstrating where it does not?
> >
> >   sorry i wasn't clear, all i was pointing out was that "man
> > git-clean" *explicitly* mentioned two locations related to cleaning:
> > ...
> > without additionally *explicitly* mentioning core.excludesFile.
> 
> OK, so together with the homework Dscho did for you and what I wrote
> earlier, I think you have enough information to answer the question
> yourself.
> 
> That is, the code does *not* ignore, and the doc was trying to be
> (overly) exhaustive but because it predates core.excludesFile, after
> the introduction of that configuration, it no longer is exhaustigve
> and has become stale.
> 
> Which would leave a small, easy and low-hanging fruit, I guess ;-).
#leftoverbits
;-)

Thanks, Dscho

> Thanks.
> 
Previous: Junio C Hamano
Message 7 of 7 in “does "git clean" deliberately ignore "core.excludesFile"?”
  1. Robert P. J. DayFeb 23, 2019
  2. Junio C HamanoFeb 23, 2019
  3. Johannes SchindelinFeb 23, 2019
  4. Johannes SchindelinFeb 23, 2019
  5. Robert P. J. DayFeb 23, 2019
  6. Junio C HamanoFeb 24, 2019
  7. Johannes SchindelinFeb 24, 2019

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.