Skip to content

activation-scope in repo local doesn't get ignored when switching back to global scope #21

@lockejan

Description

@lockejan

Bug Report

git-team version: 1.7.0
go version: 1.17.7

failure description

After using git-team in a repo-local mode via git team config activation-scope repo-local, switching back to global scope doesn't work in case a repo-local git-team state is still present in a repositories./git dir.

git-team status will return the global status, but during a commit the repo local state is getting picked up and the global state is ignored.

expected behaviour description

I would expect that git-team prioritises the config in alignment with the currently used activation-scope.
If this is global, I'd also hope that it would remove any repo local state that could interfere.

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