Skip to content

Refactor readGitConfig() #777

Closed
Closed

Description

@technoweenie

This function has too many responsibilities:

  1. Reading git config from various places into a single map of values that Git LFS uses.
  2. Building up internal extension objects.
  3. Tracking the unique git remotes from the config.

Not only is the code pretty gnarly now, but it makes ensuring that only "safe" keys are read from the .gitconfig file in the working directory more difficult.

Activity

  1. technoweenie commented on Aug 18, 2016

    @technoweenie
    ContributorAuthor

    config-next took care of this, for the most part.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions