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

Git add claims path is ignored, but git check-ignore returns no results

From
Ggeoffsimons@aim.com <geoffsimons@aim.com>
Date
Aug 12, 2019, 16:24 UTC
Message-ID
<1229468090.3098018.1565627099656@mail.yahoo.com>
In-Reply-To
<1229468090.3098018.1565627099656.ref@mail.yahoo.com>
Hi,

I’m struggling with this. Adding a renamed file to git claims that it is ignored, but git check-ignore returns no results. I can’t find anything relevant in .git/info/exclude either, or any of the .gitignore files I could find.

git check-ignore .\Source\UI\Website\LiveFeeds\Releases\IO\ReleasesSerializer.cs git add .\Source\ui\Website\LiveFeeds\Releases\io\ReleasesSerializer.cs The following paths are ignored by one of your .gitignore files: Source/ui/Website/LiveFeeds/Releases/io/ReleasesSerializer.cs Use -f if you really want to add them.

I get a similar result for adding files in that directory, or the parent directory (releases), but the grandparent directory (livefeeds) works fine.  Any ideas what might be causing this?
Regards,
Geoff
Next: Jeff King
Message 1 of 3 in “Git add claims path is ignored, but git check-ignore returns no results”
  1. geoffsimons@aim.comAug 12, 2019
  2. Jeff KingAug 12, 2019
  3. geoffsimons@aim.comAug 12, 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.