aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2008-03-16 20:00:21 +0100
committerJunio C Hamano <gitster@pobox.com>2008-03-27 23:51:33 -0700
commit9027efed47ba930382baa8051f451235be12fa63 (patch)
treec0a85f92fcef3d7dff146a86f5433c309290e105
parent803d5158123346229d71de53818920efbc88ca0f (diff)
downloadgit-9027efed47ba930382baa8051f451235be12fa63.tar.gz
git-9027efed47ba930382baa8051f451235be12fa63.tar.xz
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>
-rwxr-xr-xgit-cvsserver.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-cvsserver.perl b/git-cvsserver.perl
index 7f632af20..97fa39398 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} = {