- Add libgit2 as a git submodule in vendor/
- Fix cmake configuration to use proper ARGS instead of CMAKE_ARGS
- Use correct TARGETS (libgit2package) to build static library
- Disable NTLM and GSSAPI which require HTTPS backend
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Remove duplicate git/ subdirectory files from remote merge
- Remove duplicate LazyProperty-based Git structure entries
- Consolidate to single LazyClassStructure-based implementation
- Remove duplicate IsoSubspace declarations
- Fix namespace references to use Bun:: prefix
- Clean up CMake duplicate targets (BuildLibGit2 vs BuildLibgit2)
- Remove TypeScript wrapper (git.ts) in favor of pure C++ implementation
All 50 tests pass.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Fix static methods (Repository.find, Repository.init) not being attached
- Reorganize code to ensure proper method initialization order
- Add bun:git to isBuiltinModule.cpp in correct sorted position
- Fix libgit2 CMake LIB_PATH configuration
- Add comprehensive test suite with 50 tests covering:
- Module exports validation
- Repository.find() with path discovery
- Repository.init() for normal and bare repos
- Commit operations (getCommit, parent, isAncestorOf)
- Branch operations (name, fullName, isHead, commit)
- Status operations (workTreeStatus, indexStatus)
- Add and commit functionality
- Signature properties (name, email, date, timezone)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>