首页 > 解决方案 > 远程:在 /home/kovair/git_home/OmnibusAdapterListener/Log4perl/lib/Log/Log4perl/Appender.pm 第 164 行的连接或字符串中使用未初始化的值

问题描述

每当我在 Git 中进行推送时,它都会向我展示成功。这是显示的消息==>

git.exe push --progress "origin" master:master
Enumerating objects: 5, done.
Counting objects: 100% (5/5), done.
Delta compression using up to 4 threads
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 260 bytes | 86.00 KiB/s, done.
Total 3 (delta 1), reused 0 (delta 0)
remote: Use of uninitialized value in join or string at /home/kovair/git_home/OmnibusAdapterListener/Log4perl/lib/Log/Log4perl/Appender.pm line 164.
To ssh://192.168.12.232/~/git_home/.git
8a760af..d54ede4  master -> master

Success (10453 ms @ 5/20/2021 1:55:36 PM)

远程:在 /home/kovair/git_home/OmnibusAdapterListener/Log4perl/lib/Log/Log4perl/Appender.pm 第 164 行的连接或字符串中使用未初始化的值。

与此消息相关的代码行:

                #not defined, the normal case
        if (! defined $self->{warp_message} ){
                #join any message elements
            $p->{message} = 
                join($Log::Log4perl::JOIN_MSG_ARRAY_CHAR, 
                 @{$p->{message}}  <== line mentioned in message 164 
                     ) if ref $p->{message} eq "ARRAY";

现在的问题是成功推送后推送的文件没有进入服务器存储库。我不知道我做错了什么。我是在以错误的方式推送还是问题出在代码上。

标签: gitperl

解决方案


您需要根据您的版本更新该部分。


推荐阅读