Code

git-cvsserver: handle change type T
authorPaolo Bonzini <bonzini@gnu.org>
Sun, 16 Mar 2008 19:00:21 +0000 (20:00 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 28 Mar 2008 06:51:33 +0000 (23:51 -0700)
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.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-cvsserver.perl

index 7f632af20defd7a3cfd92008c51f7e599be13830..97fa39398c3a603676a521de86013a7a3f059c8d 100755 (executable)
@@ -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} = {