airblade / vim-gitgutter

A Vim plugin which shows git diff markers in the sign column and stages/previews/undoes hunks and partial hunks.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

errors when file path includes colons

vais opened this issue · comments

What is the latest commit SHA in your installed vim-gitgutter?
4b49965
What vim/nvim version are you on?
9.0.1897

I believe this commit introduced a regression whereby paths containing : result in errors being displayed every time a buffer is loaded/activated 952dbc3

Specifically I think this line's the culprit: 952dbc3#diff-8ca6e89485ffd459c09d6c5d99568d0784d6792b50f317daea59cb1ad7accebbR246

To repro, simply make a directory in your repo that has a colon somewhere in its name.

I'm sure you're right. I'll fix this up in the next few days when I get a chance.

I'm sure you're right. I'll fix this up in the next few days when I get a chance.

You're awesome, thank you!