From cecfc06be3be7522a8e551f2f0ce5c22f59cba74 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Tue, 9 Jul 2019 06:45:50 -0400 Subject: [PATCH] Tweak s:Dir() usage --- autoload/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index 75c6200..3039721 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -3497,7 +3497,7 @@ function! s:BlurStatus() abort endfunction function! s:OpenExec(cmd, mods, args, ...) abort - let dir = s:Dir(a:0 ? a:1 : -1) + let dir = a:0 ? s:Dir(a:1) : s:Dir() let args = s:shellesc(a:args) let temp = tempname() let git = s:UserCommand(dir)