diff --git a/vimrc b/vimrc index 9409204..e9c92ef 100644 --- a/vimrc +++ b/vimrc @@ -424,7 +424,7 @@ function! s:git_diff(...) if exists("b:git_revision_hash") call s:git_diff(get(s:git_history(), index(s:git_history(), b:git_revision_hash)+1, "NIL")) else - call s:git_diff(get(s:git_history(), 1, "HEAD")) + call s:git_diff(get(s:git_history(), 0, "HEAD")) end end endfun