File git-2.40.0.patch of Package perl-Git-Repository

--- a/t/20-simple.t
+++ b/t/20-simple.t
@@ -85,6 +85,9 @@
     skip "this test does not work with msysgit on Win32", 2
         if $^O eq 'MSWin32';
 
+    skip "'git var GIT_EDITOR' behaviour was changed in git 2.40.0, and we have $version", 2
+        if Git::Repository->version_ge('2.40.0');
+
     ok( !eval { $r->run( var => 'GIT_EDITOR' ); 1; }, 'git var GIT_EDITOR' );
     like(
         $@,

openSUSE Build Service is sponsored by