From d1971558b5517908f66d02d936d2689edbf39d63 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Mon, 16 Jul 2012 17:39:05 -0400 Subject: [PATCH] Fix - on :Gstatus headers --- plugin/fugitive.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index a083d6e..2649690 100644 --- a/plugin/fugitive.vim +++ b/plugin/fugitive.vim @@ -760,6 +760,7 @@ function! s:StageToggle(lnum1,lnum2) abort let line = getline(lnum) let repo = s:repo() if line =~# '^# .*:$' + let section = s:stage_section(lnum) if section ==# 'staged' call repo.git_chomp_in_tree('reset','-q') silent! edit!