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

Re: gitignore as symbolic link

From
RKRene Kita <mail@rkta.de>
Date
Oct 22, 2021, 16:49 UTC
Message-ID
<YXLro/8c1Feg6TcN@kitchen>
In-Reply-To
<fcf288fc-72b7-964c-e462-496066528c7b@opentransactions.org>
On Thu, Oct 21, 2021 at 05:07:44PM -0800, Justus Ranvier wrote:
Show 9 quoted lines
> I have several repositories where the top level .gitignore file is a
> symbolic link to the actual file which is contained in a submodule which all
> the repositories share.
> 
> This worked fine up to and including version 2.31.1 but as of 2.32.0 running
> any command which would cause .gitignore to be read results in a "too many
> levels of symbolic links error" and git behaves as if .gitignore is not
> present.
> 
This was fixed in commit a185dd58ecc17f2ea16985d59c9bb7b09bec7775 [1].
[1] https://lore.kernel.org/git/xmqqlf83h2a7.fsf@gitster.g/
Previous: Justus RanvierNext: Matheus Tavares
Message 2 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.