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

Re: Git 2.7.0 gitignore behaviour regression

From
Duy Nguyen <pclouds@gmail.com>
Date
Jan 6, 2016, 10:03 UTC
Message-ID
<CACsJy8CvPqYGRXB845+4fHjkXH_kSAWG684CoxtWAnXE-gM6ag@mail.gmail.com>
In-Reply-To
<5E517AD0-CD4E-4F85-8FEB-89B7A0183967@mikemcquaid.com>
On Wed, Jan 6, 2016 at 4:50 PM, Mike McQuaid <mike@mikemcquaid.com> wrote:
> it’s also a big area where libgit2 was inconsistent with Git’s behaviour on either of those versions too.

Yeah.. it looks like libgit2's gitignore support was written new, not imported from C Git, so behavior differences (especially in corner cases) and even lack of some feature ("**" support comes to mind). For isolated features like gitignore, perhaps we can have an option to replace C Git code with libgit2 and therefore can test libgit2 against C Git test suite. It could be a good start for libgit2 to invade C Git. Not sure if anybody's interested in doing it though.

-- 
Duy
Previous: Mike McQuaidNext: Junio C Hamano
Message 5 of 13 in “Git 2.7.0 gitignore behaviour regression”
  1. Mike McQuaidJan 5, 2016
  2. Jeff KingJan 5, 2016
  3. Duy NguyenJan 6, 2016
  4. Mike McQuaidJan 6, 2016
  5. Duy NguyenJan 6, 2016
  6. Junio C HamanoJan 6, 2016
  7. Jeff KingJan 7, 2016
  8. Duy NguyenJan 7, 2016
  9. Carlos Martín NietoJan 8, 2016
  10. brian m. carlsonJan 7, 2016
  11. Duy NguyenJan 8, 2016
  12. brian m. carlsonJan 8, 2016
  13. Duy NguyenJan 8, 2016

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.