srmeyers / git-prefix

Visual Studio Code Extension - Prefix commit message with value in branch name.
https://marketplace.visualstudio.com/items?itemName=srmeyers.git-prefix
MIT License
22 stars 14 forks source link

Not working for workspaces with multiple repositories with different branches #1

Closed PKief closed 5 years ago

PKief commented 5 years ago

Hi, I really like your extension and it can be really useful and save some time by writing commit messages. Unfortunately it's not working properly if multiple project folders are opened and if they have their own git repositories in branches that do not match the specified pattern.

E.g. all repositories are on branch "master" and only one repository is on branch "feature/ABC-123". If I want to commit on the feature branch on this repository then I get lots of error messages for the other repositories which look like this:

Somehow it's annoying if you've e.g. 10 repositories opened and the pattern only matches for one, then you'll get 9 error messages that you've to click away.