This used to work, when you do :Gstatus then - on file to stage it or remove it. But now I get:
Any ideas on why it's not working anymore. My git version is git version 188.8.131.52
git version 184.108.40.206
There's been some changes in the parsing. But I can't diagnosis it without seeing the contents of the :Gstatus buffer.
@tpope thank you for the quick reply, here's the content:
Whoa, where's the (use "git add <file>..." to update what will be committed) line? Is that some git status configuration option?
(use "git add <file>..." to update what will be committed)
Not sure... it's always looked like this.... I just normal use :Gstatus then - on certain files to stage them (make them green) then :Gcommit then enter my comment and that's it......
@tpope here are my dotfiles https://github.com/cj/dotfiles
https://github.com/cj/dotfiles/blob/master/git/gitconfig#L103. Since I did your job of isolating the problem, I assume you'll do my job of fixing it?
@tpope ahhh now I get what you were saying before.... setting that to true so it adds those extra lines fixes it.... I guess the regex for https://github.com/tpope/vim-fugitive/blob/master/plugin/fugitive.vim#L753 needs to be tweaked.
Thank you for helping solve the issue. I can take a stab at it for sure :)
p.s. Thank you by the way for ALL your plugins!
Yeah, there's a half dozen different regexes that need to be updated. They used to look for English labels, but I changed them to look for the git add and the like because that's the only thing that's the same in every language.
The best solution we have is to look for both. That way it works if you change the language or turn off the advice. But it won't work if you do both. :(
I'll get to it eventually, but it's low priority, so if you take a stab, it will at least give me a starting point, if nothing else. Basically take the existing regexes and add a \| followed by the expected label (e.g., add \|^# Untracked files:$).
\|^# Untracked files:$
Support advice.statusHints = false