Skip to content

🚀 Override git config #1964

@lucasoshiro

Description

@lucasoshiro

Hi!

I noticed that, independently if I'm using Delta through Git or not, I always uses the options inside .gitconfig. This creates a strong dependency on how things are configured on each machine, so if I want to call Delta in another project it becomes unpredictable how it will behave.

I experienced it some days ago. I was using a tool that uses Delta and the developer was surprised that the output shows two columns in my setup (which is not optimal for the purpose of that tool). It happened because my .gitconfig has side-by-side activated. I tried to override it locally, but I couldn't find a --ignore-gitconfig, --default, not even a --no-side-by-side option!

My feature request here is that: a flag (or set of flags, or envinroment variables, etc) that resets the default config of Delta, so other tools may choose how Delta will behave independently of the git-config of the user.

Thanks!

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