summarylogtreecommitdiffstats
path: root/tests_git_editor_fix.patch
blob: 457e017d78d38064da5cee42002085fa3fb954ed (plain)
1
2
3
4
5
6
7
8
9
10
11
--- t/20-simple.t
+++ t/20-simple.t
@@ -85,6 +85,9 @@ From https://github.com/book/Git-Repository/pull/23#issuecomment-1479838028
     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(