From 549a0be0b43e7b1c2f0c37e2d78e13b33a6face7 Mon Sep 17 00:00:00 2001 From: DarkWiiPlayer Date: Thu, 12 Apr 2018 10:27:49 +0200 Subject: [PATCH] Remove --follow from git commands --- vimrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vimrc b/vimrc index e9c92ef..77180bc 100644 --- a/vimrc +++ b/vimrc @@ -311,7 +311,7 @@ function! s:git_history() else let l:fname = expand("%") end - let l:commits = system('git log --format="%h" --follow '.l:fname) + let l:commits = system('git log --format="%h" '.l:fname) let l:hist = split(l:commits, "\n") let b:git_history = [localtime(), l:hist] @@ -324,7 +324,7 @@ function! s:git_first() return end let l:history = s:git_history() - call s:file_at_revision(get(l:history, -1, "HEAD")) + call s:file_at_revision(get(l:history, -1)) endfun function! s:git_last()