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

Is there an API to the .gitignore capability?

From
PYPeng Yu <pengyu.ut@gmail.com>
Date
Jun 2, 2013, 14:40 UTC
Message-ID
<CABrM6wnJYSGGsj=ZxHOFRMmDCSgsU0dFwxus=h1PtVazgpg3ug@mail.gmail.com>
Hi,

.gitignore is a flexible way to customize what dir/file to search or not to search. So it is of general use and is more flexible than what is offered by "find". I'm wondering if there is an API than I can use besides using it within git. Thanks.

-- 
Regards,
Peng
Next: Duy Nguyen
Message 1 of 2 in “Is there an API to the .gitignore capability?”
  1. Peng YuJun 2, 2013
  2. Duy NguyenJun 3, 2013

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.