{{ message }}
Repository navigation
Commit 860d07d
don't leak GIT_* env into
When a node hook environment is installed from `git commit` inside a
submodule, git exports absolute GIT_DIR / GIT_INDEX_FILE paths.
`npm install git+file://<store clone>` inherited them, so npm's checkout
of the hook repository overwrote the submodule's index and the commit
failed with `fatal: unable to read <sha>`.
Run the install with no_git_env(), as is already done for the initial
clone in store.py.
Signed-off-by: Chris Birkhold <cbirkhold@gmail.com>npm install for language: node
1 parent 9ad8a0a commit 860d07d
2 files changed
Lines changed: 25 additions & 1 deletion

0 commit comments