From ba5d262c6c0aa2623b234dd846032fea01968101 Mon Sep 17 00:00:00 2001 From: Egutierrez Date: Wed, 3 Jun 2026 00:46:11 +0200 Subject: [PATCH] chore: submodulos C++ en modo shallow (depth 1) Marca todos los submodulos de cpp/vendor (y emsdk) como shallow en .gitmodules para que los clones futuros descarguen solo el commit pinneado en vez de toda la historia upstream. Reduce .git/modules de ~338MB a ~35MB sin perder codigo: el working tree mantiene el snapshot completo de cada dependencia. Reversible por submodulo con 'git fetch --unshallow'. Co-Authored-By: Claude Opus 4.8 (1M context) --- .gitmodules | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitmodules b/.gitmodules index b8ddd5b7..952e6137 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,22 +1,29 @@ [submodule "cpp/vendor/imgui"] path = cpp/vendor/imgui url = https://github.com/ocornut/imgui.git + shallow = true branch = docking [submodule "cpp/vendor/implot"] path = cpp/vendor/implot url = https://github.com/epezent/implot.git + shallow = true [submodule "cpp/vendor/tracy"] path = cpp/vendor/tracy url = https://github.com/wolfpld/tracy.git + shallow = true [submodule "cpp/vendor/glfw"] path = cpp/vendor/glfw url = https://github.com/glfw/glfw.git + shallow = true [submodule "cpp/vendor/implot3d"] path = cpp/vendor/implot3d url = https://github.com/brenocq/implot3d.git + shallow = true [submodule "cpp/vendor/sdl3"] path = cpp/vendor/sdl3 url = https://github.com/libsdl-org/SDL.git + shallow = true [submodule "emsdk"] path = emsdk url = https://github.com/emscripten-core/emsdk.git + shallow = true