Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lockejan opened this issue Apr 12, 2022 · 0 comments

Comments

@lockejan
Copy link
Contributor

lockejan commented Apr 12, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant