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

Re: [PATCH] git-cvsserver: handle change type T

From
Paolo Bonzini <bonzini@gnu.org>
Date
Mar 17, 2008, 07:54 UTC
Message-ID
<47DE23A0.6040100@gnu.org>
In-Reply-To
<7v4pb6gv7x.fsf@gitster.siamese.dyndns.org>
Show 6 quoted lines
> What I am questioning is what the code should do (IOW, what would be good
> for cvs clients to see).  Should it send a symlink as a regular file, or
> simply just omit it?  If the answer is "the former", then we do not have
> to worry about it any further after applying your patch.  Otherwise we
> still have to do something _else_ after applying your patch.  I did not
> know which way we would want to proceed, and I still don't.

The reason why my patch was enough for me, is that users would just use the cvs bridge to stay up-to-date, not to spelunk the history (maybe to spelunk it with annotate, but not to look at old versions etc.). For that, all I need is that current checkouts are okay. We have to decide if other cvsserver use cases are common enough.

If they are, I think the optimal way to proceed could be to detect relative symlinks and resolve them (sending the linked file's content), and do "something else" (omit it, send the destination path as a regular file?) for absolute symlinks.

Paolo
Previous: Junio C HamanoNext: Junio C Hamano
Message 5 of 8 in “git-cvsserver: handle change type T”
  1. git-cvsserver: handle change type TPaolo Bonzini, Mar 16, 2008
  2. Junio C HamanoMar 16, 2008
  3. Paolo BonziniMar 16, 2008
  4. Junio C HamanoMar 16, 2008
  5. Paolo BonziniMar 17, 2008
  6. Junio C HamanoMar 17, 2008
  7. Martin LanghoffMar 17, 2008
  8. Paolo BonziniMar 17, 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.