public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: Paolo Bonzini <bonzini@gnu•org>
To: git@vger•kernel.org
Cc: beuc@gnu•org
Subject: [PATCH] git-cvsserver: handle change type T
Date: Sun, 16 Mar 2008 20:00:21 +0100	[thread overview]
Message-ID: <E1Jay7s-0000dO-IX@fencepost.gnu.org> (raw)

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

             reply	other threads:[~2008-03-16 19:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-16 19:00 Paolo Bonzini [this message]
2008-03-16 21:21 ` [PATCH] git-cvsserver: handle change type T Junio C Hamano
2008-03-16 22:00   ` Paolo Bonzini
2008-03-16 22:28     ` Junio C Hamano
2008-03-17  7:54       ` Paolo Bonzini
2008-03-17  8:01     ` Junio C Hamano
2008-03-17 19:34       ` Martin Langhoff
2008-03-17 19:47         ` Paolo Bonzini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1Jay7s-0000dO-IX@fencepost.gnu.org \
    --to=bonzini@gnu$(echo .)org \
    --cc=beuc@gnu$(echo .)org \
    --cc=git@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox