From 5ad42e307fb11a6beb205235b193331ab25fb820 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Sat, 7 Mar 2020 16:49:23 -0500 Subject: [PATCH] Factor in 8.2.0239 when checking for job env support --- autoload/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index a59ec5c..ef1c830 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -474,7 +474,7 @@ endfunction function! s:JobOpts(cmd, env) abort if empty(a:env) return [a:cmd, {}] - elseif has('patch-8.1.0902') && !has('nvim') && (!has('win32') || empty(filter(keys(a:env), 'exists("$" . v:val)'))) + elseif has('patch-8.2.0239') || has('patch-8.1.0902') && !has('nvim') && (!has('win32') || empty(filter(keys(a:env), 'exists("$" . v:val)'))) return [a:cmd, {'env': a:env}] endif let envlist = map(items(a:env), 'join(v:val, "=")')