Browse Source

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>
maint
Paolo Bonzini 17 years ago committed by Junio C Hamano
parent
commit
9027efed47
  1. 2
      git-cvsserver.perl

2
git-cvsserver.perl

@ -2633,7 +2633,7 @@ sub update @@ -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} = {

Loading…
Cancel
Save