-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Did you check existing issues?
- I have read all the tree-sitter docs if it relates to using the parser
- I have searched the existing issues
Tree-Sitter CLI Version, if relevant (output of tree-sitter --version
)
No response
Describe the bug
The examples/nqc
directory contains an unknown link that is recognized as a Git submodule, but no corresponding .gitmodules
entry is found in the repository root. This causes the clone operation to fail.
This bug is particularly annoying when a user embeds tree-sitter-nqc
as a Git submodule and initializes submodules recursively using:
git submodule update --init --force --depth=1 --recursive
Here is an example of the issue in action.
Steps To Reproduce/Bad Parse Tree
git clone [email protected]:tree-sitter-grammars/tree-sitter-nqc.git
cd tree-sitter-nqc
git update --init
Error:
fatal: No url found for submodule path 'examples/nqc' in .gitmodules
Expected Behavior/Parse Tree
No error
Repro
No response
cc: @amaanq
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working