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

when does git start caring about symlinks?

From
NKNeal Kreitzinger <neal@rsss.com>
Date
Nov 23, 2010, 23:50 UTC
Message-ID
<ichk2q$bbu$1@dough.gmane.org>

I have a question on how symlinks work and at what point git starts caring about them. If dirA/repoA/.git has no symlinks and I copy it to dirB/repoB/.git (ie. cp -rp /dirA/repoA/.git /dirB/repoB/.git), but /dirB is a symlink to /x/dirB does that mean that repoB contains symlinks (I suspect that repoB may be made up of all symlinks at this point)? In other words, if I parallel test repoA and repoB am I running a true parallel test or are the repos different because repoA has no symlinks and repoB has symlinks?

v/r, Neal

Next: Nguyen Thai Ngoc Duy
Message 1 of 3 in “when does git start caring about symlinks?”
  1. Neal KreitzingerNov 23, 2010
  2. Nguyen Thai Ngoc DuyNov 24, 2010
  3. Neal KreitzingerNov 24, 2010

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.