Hi,
I have an issue very similar to #974 but more general: whenever I use git grep and a file with a path that contains an hyphen is matched, the output is incorrect, the hyphen is replaced by a colon.
To reproduce:
mkdir /tmp/delta-test
cd /tmp/delta-test
echo content > foo-bar
git init
git add .
git commit -m 'Initial'
git grep content
The git --no-pager output is foo-bar:content.
The git delta output is foo:bar:content

Hi,
I have an issue very similar to #974 but more general: whenever I use
git grepand a file with a path that contains an hyphen is matched, the output is incorrect, the hyphen is replaced by a colon.To reproduce:
The
git --no-pageroutput isfoo-bar:content.The
git deltaoutput isfoo:bar:content