Skip to content

Commit c09226d

Browse files
[Bugfix:Developer] Clone full tree-sitter repos(s) (#18)
The GIT_SHALLOW property does not handle arbitrary hashes unless those hashes happen to be the latest commit on a branch or tag.
1 parent 8394cc6 commit c09226d

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

CMakeLists.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ FetchContent_Declare(
1010
tree-sitter
1111
GIT_REPOSITORY https://github.com/tree-sitter/tree-sitter.git
1212
GIT_TAG 0535b0ca378a3f13a2b469f6c090a0c1b90904b7
13-
GIT_SHALLOW TRUE
1413
)
1514

1615
FetchContent_GetProperties(tree-sitter)
@@ -27,7 +26,6 @@ function(fetch_and_build_ts_parser PARSER_NAME GIT_URL GIT_COMMIT)
2726
${PARSER_NAME}
2827
GIT_REPOSITORY ${GIT_URL}
2928
GIT_TAG ${GIT_COMMIT}
30-
GIT_SHALLOW TRUE
3129
)
3230
FetchContent_GetProperties(${PARSER_NAME})
3331
if(NOT ${PARSER_NAME}_POPULATED)
@@ -77,7 +75,6 @@ FetchContent_Declare(
7775
nlohmann_json
7876
GIT_REPOSITORY https://github.com/nlohmann/json.git
7977
GIT_TAG 9a737481aed085fd289f82dff1fa8c3c66627a7e
80-
GIT_SHALLOW TRUE
8178
)
8279
FetchContent_MakeAvailable(nlohmann_json)
8380

0 commit comments

Comments
 (0)