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

Re: gitignore as symbolic link

From
brian m. carlson <sandals@crustytoothpaste.net>
Date
Oct 23, 2021, 12:01 UTC
Message-ID
<YXP5rZT5IgFcMZs0@camp.crustytoothpaste.net>
In-Reply-To
<fa4b28b1-9b5e-0201-5afe-2e8f294fa9b4@opentransactions.org>
On 2021-10-22 at 23:55:16, Justus Ranvier wrote:
Show 6 quoted lines
> 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

Developers should be responsible for ensuring that their own editor's temporary files are ignored. For example, I use Vim, so it's my responsibility to ensure that I globally ignore swap files using "core.excludesFile" or that my editor is configured not to produce them. (In my case, it's the latter.)

As you point out, it's unsustainable to have to manage a list of the detritus of every possible editor. What if I had decided to use an editor that is not very popular, like ae, joe, or acme? Should every project be responsible for dealing with my uncommon editor, or should I be responsible for my own editing hygiene?

-- 
brian m. carlson (he/him or they/them)
Toronto, Ontario, CA
Previous: Justus RanvierNext: Justus Ranvier
Message 6 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.