Skip to content

🐛 delta replaces characters when used with git grep --name-only #1869

Description

@ccosby

So far it's only the - character that I've noticed.

thing value
delta 0.18.2
git 2.39.5
LANG en_US.UTF-8
PRETTY_NAME Debian GNU/Linux 12 (bookworm)

Raw output:

$ git --no-pager grep --name-only airflow:CreateCli
dev-account/policy.tf

Delta output:

$ git config pager.grep
delta

$ git grep --name-only airflow:CreateCli
    dev:account/policy.tf

Delta output without --name-only

$ git grep airflow:CreateCli
    dev-account/policy.tf:    "airflow:CreateCliToken",

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions