Skip to content

GitExtensions rewrites .gitconfig #4389

@ilohmar

Description

@ilohmar

Do you want to request a feature or report a bug?
BUG

What is the current behavior?
GitExtensions destroys carefully-crafted .gitconfig files by rewriting all settings lines (w/o comments).

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
Use a .gitconfig file with, eg, a comment explaining a setting.
Install and start GitExtensions, open a repo, close GitExtensions.
The comment line in .gitconfig is gone.

What is the expected behavior?
GitExtensions adds or changes settings only upon explicit request by the user, leaving the rest of the file alone. The command line 'git config' seems to get this right.

Environment you encounter the issue:

  • GitExtensions version: 2.50.02
  • GIT version: 2.16.0.windows.2
  • OS version: Windows 10

Did this work in previous version of GitExtensions (which)?
Never worked. My primary reason to not use or recommend GitExtensions.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions