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

[PATCH] git-cvsserver: handle change type T

From
Paolo Bonzini <bonzini@gnu.org>
Date
Mar 16, 2008, 19:00 UTC
Message-ID
<E1Jay7s-0000dO-IX@fencepost.gnu.org>
git-cvsserver does not support changes of type T (file type change,
e.g. symlink->real file).  This patch treats them the same as changes
of type M.
---
 git-cvsserver.perl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/git-cvsserver.perl b/git-cvsserver.perl
index afe3d0b..1b6b20e 100755
--- a/git-cvsserver.perl
+++ b/git-cvsserver.perl
@@ -2633,7 +2633,7 @@ sub update
                     };
                     $self->insert_rev($name, $head->{$name}{revision}, $hash, $commit->{hash}, $commit->{date}, $commit->{author}, $git_perms);
                 }
-                elsif ( $change eq "M" )
+                elsif ( $change eq "M" || $change eq "T" )
                 {
                     #$log->debug("MODIFIED $name");
                     $head->{$name} = {
-- 
1.5.3.4.910.gc5122-dirty
Next: Junio C Hamano
Message 1 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.