@matheusbsbs / matheus-bagliano / commits / 9027efed47
Fork 0

git-cvsserver: handle change type T

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>

Paolo Bonzini committed Mar 16, 2008 at 20:00 UTC 9027efed47ba930382baa8051f451235be12fa63
1 file changed +1 -1
git-cvsserver.perl
+1 -1
@@ -2633,7 +2633,7 @@ sub update
2633 };
2634 $self->insert_rev($name, $head->{$name}{revision}, $hash, $commit->{hash}, $commit->{date}, $commit->{author}, $git_perms);
2635 }
2636 - elsif ( $change eq "M" )
2636 + elsif ( $change eq "M" || $change eq "T" )
2637 {
2638 #$log->debug("MODIFIED $name");
2639 $head->{$name} = {