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

Not a gitflow-enabled repo yet #68

Open
johnnyshut opened this issue Mar 12, 2025 · 7 comments
Open

Not a gitflow-enabled repo yet #68

johnnyshut opened this issue Mar 12, 2025 · 7 comments

Comments

@johnnyshut
Copy link

johnnyshut commented Mar 12, 2025

When opening VS Code in a project directory where I don't need to work with git flow, the error

Error executing: "C:\Program Files\Git\cmd\git.exe" flow config list : Error: Command failed: "C:\Program Files\Git\cmd\git.exe" flow config list Fatal: Not a gitflow-enabled repo yet. Please run 'git flow init' first.
Copy link

Welcome!

Thank you for finding time to write an issue and help to make this extension better. I`ll appreciate if you find some time to rate this extension here.

I`ll get to this Issue ASAP.

@Serhioromano
Copy link
Owner

To avoid it, I can only see a local project setting to skip git-flow. What do you think? how you expect it to behave?

@johnnyshut
Copy link
Author

I see the behavior like this: if gitflow.showNotification = false then the error is not displayed

@Serhioromano
Copy link
Owner

i created new version. But this has a parameter gitflow.disableOnRepo. This disable gitflow. Note if you set it like User setting then it will disable gitflow for all repositories, set it for workspace or click Disable button on the popup message.

I would appreciate if you test it out and give a report.

Also, if you make a review for this extension folow by link in second message of this thread.

@johnnyshut
Copy link
Author

It didn't help. And clicking the "Disable" button in the pop-up message won't help, since it's not a warning, but an error.
Image

@Serhioromano
Copy link
Owner

Как я и сказал это нужно сделать не на пользователя, а на рабочую область иначе ни где не будет расширение работать.

У меня нет контроля над сообщениями об ошибках. Это сам редактор делает если происходит ошибка. Ни знаю как их выключить.

@johnnyshut
Copy link
Author

Okay, thanks, I'll try to figure it out.

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

2 participants