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

git bug?

From
PCPANEL Christian <ch.panel@free.fr>
Date
Sep 26, 2020, 17:57 UTC
Message-ID
<1601143029.5937.10.camel@free.fr>
hello,
Using .git/info/exclude file to ignore some of my directories, I notice a curious think I took for a bug :

I wanted to exclude all except that is inside my /TED/ directory I wrote a file exclude first as this

* !/TED/

but this doesn't work and is dangerous because no warning, and git status said (after I realize commit and push on server) working copy is clear. fortunately looking at repository I realize the mistake and trying a "git add" tells me there is something wrong in the exclude file I changed it as this

/* !/TED/

and it works but I don't know exactly why  Have you a begin of answer ?

thanks a lot in advance for any answer
Message 1 of 1 in “git bug?”
  1. PANEL ChristianSep 26, 2020

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.