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

[Bug]: oco hook set is blocking vscode integrated source control #422

Open
di-sukharev opened this issue Oct 16, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@di-sukharev
Copy link
Owner

Opencommit Version

latest

Node Version

20

NPM Version

latest

What OS are you seeing the problem on?

No response

What happened?

i installed the oco hook and my vscode (latest -v) stopped working

Expected Behavior

vscode integrated source control works fine together with oco hook

Current Behavior

it fails.

Possible Solution

No response

Steps to Reproduce

try do this:

  1. oco hook set
  2. commit smth in vscode integrated terminal
  3. get the 2024-10-16 10:26:16.610 [info] env: node: No such file or directory
  4. oco hook unset
  5. all works fine

Relevant log output

2024-10-16 10:26:16.610 [info] > git -c user.useConfigOnly=true commit --quiet --allow-empty-message --file - [18ms]
2024-10-16 10:26:16.610 [info] env: node: No such file or directory
2024-10-16 10:26:16.622 [info] > git config --get-all user.name [11ms]
2024-10-16 10:26:16.634 [info] > git config --get-all user.email [12ms]
2024-10-16 10:26:16.647 [info] > git config --get commit.template [12ms]
2024-10-16 10:26:16.647 [info] > git for-each-ref --format=%(refname)%00%(upstream:short)%00%(objectname)%00%(upstream:track)%00%(upstream:remotename)%00%(upstream:remoteref) --ignore-case refs/heads/main refs/remotes/main [11ms]
2024-10-16 10:26:16.662 [info] > git status -z -uall [14ms]
2024-10-16 10:26:16.676 [info] > git for-each-ref --format=%(refname)%00%(upstream:short)%00%(objectname)%00%(upstream:track)%00%(upstream:remotename)%00%(upstream:remoteref) --ignore-case refs/heads/main refs/remotes/main [13ms]
2024-10-16 10:26:16.688 [info] > git config --local branch.main.vscode-merge-base [11ms]
2024-10-16 10:26:16.700 [info] > git for-each-ref --format=%(refname)%00%(upstream:short)%00%(objectname)%00%(upstream:track)%00%(upstream:remotename)%00%(upstream:remoteref) --ignore-case refs/heads/origin/main refs/remotes/origin/main [11ms]
2024-10-16 10:26:17.729 [info] > git config --get commit.template [14ms]
2024-10-16 10:26:17.729 [info] > git for-each-ref --format=%(refname)%00%(upstream:short)%00%(objectname)%00%(upstream:track)%00%(upstream:remotename)%00%(upstream:remoteref) --ignore-case refs/heads/main refs/remotes/main [13ms]
2024-10-16 10:26:17.748 [info] > git status -z -uall [18ms]
2024-10-16 10:26:17.764 [info] > git for-each-ref --format=%(refname)%00%(upstream:short)%00%(objectname)%00%(upstream:track)%00%(upstream:remotename)%00%(upstream:remoteref) --ignore-case refs/heads/main refs/remotes/main [15ms]
2024-10-16 10:26:17.777 [info] > git config --local branch.main.vscode-merge-base [12ms]
2024-10-16 10:26:17.790 [info] > git for-each-ref --format=%(refname)%00%(upstream:short)%00%(objectname)%00%(upstream:track)%00%(upstream:remotename)%00%(upstream:remoteref) --ignore-case refs/heads/origin/main refs/remotes/origin/main [12ms]
@di-sukharev di-sukharev added the bug Something isn't working label Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant