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

GIT_TRACE breaks nano-staged paths #41

Open
jyannessa-mtx opened this issue Jun 17, 2024 · 0 comments
Open

GIT_TRACE breaks nano-staged paths #41

jyannessa-mtx opened this issue Jun 17, 2024 · 0 comments

Comments

@jyannessa-mtx
Copy link

Describe the bug

Using GIT_TRACE breaks nano-staged path resolution here https://github.com/usmanyunusov/nano-staged/blob/master/lib/git.js#L121

Reproduction

  1. Modify and stage a file
  2. Run `GIT_TRACE=1 git commit -m "test commit"

System Info

System:
    OS: macOS 14.5
    CPU: (10) arm64 Apple M1 Max
    Memory: 97.03 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.11.0 - ~/.volta/tools/image/node/20.11.0/bin/node
    npm: 10.2.4 - ~/.volta/tools/image/npm/10.2.4/bin/npm
  Browsers:
    Chrome: 125.0.6422.176
    Safari: 17.5

Used Package Manager

npm

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