Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Opening Git tab sets global user.email #2557

@michaelkuhn

Description

@michaelkuhn

Prerequisites

Description

Whenever I open the Git tab (using Ctrl-9), Atom sets the global user.email configuration. I have explicitly not set it to prompt me per-repository (in combination with useConfigOnly). It seems to be set to the per-repository value of the current repository.

This seems to be due to https://github.com/atom/github/blob/master/lib/controllers/git-tab-controller.js#L374-L376 if I am reading that part correctly.

Steps to Reproduce

  1. Unset global user.email
  2. Open Git tab

Expected behavior:

Atom does not touch my global Git configuration.

Actual behavior:

Atom modifies my global Git configuration.

Reproduces how often:

100%

Versions

Atom : 1.53.0
Electron: 6.1.12
Chrome : 76.0.3809.146
Node : 12.4.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions