Skip to content

Local code intelligence for developers and AI agents. Connect code, docs and infrastructure in a persistent graph, with CBM Lens, MCP tools, agent integrations and change-aware test selection.

fix(build): format libgit2 version guard

Dustin Persek8205237159db
diff --git a/internal/cbm/cbm.c b/internal/cbm/cbm.c
index bf91eb859..2368eb777 100644
--- a/internal/cbm/cbm.c
+++ b/internal/cbm/cbm.c
@@ -26,7 +26,8 @@
#error "HAVE_LIBGIT2 requires libgit2 >= 1.7.0 for git_allocator"
#endif
#elif defined(LIBGIT2_VER_MAJOR) && defined(LIBGIT2_VER_MINOR) && defined(LIBGIT2_VER_REVISION)
-#if ((LIBGIT2_VER_MAJOR * 1000000) + (LIBGIT2_VER_MINOR * 10000) + (LIBGIT2_VER_REVISION * 100)) < 1070000
+#if ((LIBGIT2_VER_MAJOR * 1000000) + (LIBGIT2_VER_MINOR * 10000) + (LIBGIT2_VER_REVISION * 100)) < \
+ 1070000
#error "HAVE_LIBGIT2 requires libgit2 >= 1.7.0 for git_allocator"
#endif
#else