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

Re: symbolic link management in git-archive

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 27, 2008, 16:31 UTC
Message-ID
<7v3aqcb02s.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<loom.20080327T112740-539@post.gmane.org>
Sergio Callegari <sergio.callegari@gmail.com> writes:
> I guess the answer is "no" or "not yet", but is there a way to tell the zip
> backend of git-archive to follow symbolic links rather than to store them?

I am not sure what you mean. Are you tracking a symbolic link X that points at Y in your revision and expecting git-archive to include whatever happens to be at Y (which may or may not even exist) when you run the command?

If that is the case, the answer is "no" and "will never happen". If you are tracking a symbolic link X that points at Y, the information git tracks is the fact that there is a symbolic link X that points at Y, and not what Y happens to look like at a random moment. Change to Y is not tracked by git so why should you get different output from git-archive of the same revision before and after you modify Y which is not part of the revision to begin with?

If that is not what you are asking, please restate the question.
Previous: Sergio CallegariNext: Sergio Callegari
Message 5 of 10 in “symbolic link management in git-archive”
  1. Sergio CallegariMar 27, 2008
  2. Miklos VajnaMar 27, 2008
  3. Johannes SchindelinMar 27, 2008
  4. Sergio CallegariMar 27, 2008
  5. Junio C HamanoMar 27, 2008
  6. Sergio CallegariMar 27, 2008
  7. Junio C HamanoMar 27, 2008
  8. Sergio CallegariMar 27, 2008
  9. René ScharfeMar 31, 2008
  10. Sergio CallegariMar 31, 2008

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.