cvsserver: Remove trailing "\n" from commithash in checkin function
[gitweb.git] / git-cvsserver.perl
index 8e12f81e20f67ad1e5e94fd55e696286b94eef98..8db6e23c5517f62de8019a3a4a881adba628a689 100755 (executable)
@@ -1152,6 +1152,7 @@ sub req_ci
     close $msg_fh;
 
     my $commithash = `git-commit-tree $treehash -p $parenthash < $msg_filename`;
+    chomp($commithash);
     $log->info("Commit hash : $commithash");
 
     unless ( $commithash =~ /[a-zA-Z0-9]{40}/ )