From 6ce58caad320be3cf9ff5d275191f88524edf326 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sun, 22 Jul 2018 17:04:28 +0900 Subject: [PATCH] [Commits] Use FugitiveGenerate to get proper commit URL Close #674 --- autoload/fzf/vim.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/fzf/vim.vim b/autoload/fzf/vim.vim index d6e2628..61d3be3 100644 --- a/autoload/fzf/vim.vim +++ b/autoload/fzf/vim.vim @@ -1075,7 +1075,7 @@ function! s:commits_sink(lines) else " Since fugitive buffers are unlisted, we can't keep using 'e' let c = (cmd == 'e' && idx > 1) ? 'tab split' : cmd - execute c 'fugitive://'.s:git_root.'/.git//'.sha + execute c FugitiveGenerate(sha) endif endif endfor