Skip to content

Commit 2a021dc

Browse files
committed
Fix git file history range error by removing double quote
1 parent f447fe3 commit 2a021dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/project/git.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ endfunction
8686
function! s:InitFileHistory(input)
8787
let range = s:GetLineRange()
8888
let format = join(["%s", "%aN", "%ae", "%ad", "%h"], s:splitter)
89-
let cmd = 'git log --pretty=format:"'.format.'" --date=relative "'.range.s:current_file.'"'
89+
let cmd = 'git log --pretty=format:"'.format.'" --date=relative '.range.s:current_file
9090
let logs = project#RunShellCmd(cmd)
9191
if empty(range)
9292
let s:commit_diffs = []

0 commit comments

Comments
 (0)