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

Re: gitignore as symbolic link

From
JRJustus Ranvier <justus@opentransactions.org>
Date
Oct 22, 2021, 23:55 UTC
Message-ID
<fa4b28b1-9b5e-0201-5afe-2e8f294fa9b4@opentransactions.org>
In-Reply-To
<CAHd-oW50puNCrYTQhR4qffgtP6-wJerWLhmhCV+nYcLVNu+CBg@mail.gmail.com>

Suppose a person is managing N repositories. Would that person prefer to maintain the list of files to ignore for every random IDE that anybody who joins the team might want to use in:

a: One place b: N places

On 10/22/21 14:40, Matheus Tavares wrote:
> Note that "core.excludesFile" and "$GIT_DIR/info/exclude" are still
> allowed to be symlinks.
These are settings that are specific to each developer, right?

If I have N repositories with M developers and I need to add a new ignore pattern that's either and O(M) or an O(N) job, neither of which is significantly better than the other and both of which suck compared to the O(1) functionality that we had before when we could put the list on a shared submodule.

Previous: Justus RanvierNext: brian m. carlson
Message 5 of 8 in “gitignore as symbolic link”
  1. Justus RanvierOct 22, 2021
  2. Rene KitaOct 22, 2021
  3. Matheus TavaresOct 22, 2021
  4. Justus RanvierOct 22, 2021
  5. Justus RanvierOct 22, 2021
  6. brian m. carlsonOct 23, 2021
  7. Justus RanvierOct 23, 2021
  8. Ævar Arnfjörð BjarmasonOct 23, 2021

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.