Skip to content

Update git protocol doc and reformat core.rs#17

Merged
benjamin-747 merged 1 commit into
libra-tools:mainfrom
genedna:main
Oct 27, 2025
Merged

Update git protocol doc and reformat core.rs#17
benjamin-747 merged 1 commit into
libra-tools:mainfrom
genedna:main

Conversation

@genedna

@genedna genedna commented Oct 27, 2025

Copy link
Copy Markdown
Contributor

No description provided.

Signed-off-by: Quanyi Ma <eli@patch.sh>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates import organization in the protocol core module and adds comprehensive documentation for Git protocol version evolution. The changes reorganize imports to follow Rust conventions (std imports first) and replace relative imports with absolute crate paths, while also documenting the differences between protocol versions v0, v1, and v2 with migration guidance.

  • Reformatted imports in core.rs to follow standard ordering conventions
  • Added detailed protocol version comparison table and command documentation
  • Included migration recommendations for implementers and the git-internal library

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/protocol/core.rs Reorganized imports to follow std-first convention and changed relative imports to absolute crate paths
docs/GIT_PROTOCOL_GUIDE.md Added comprehensive protocol version comparison (v0/v1/v2), command documentation, and migration guidance

@benjamin-747
benjamin-747 merged commit 8af9943 into libra-tools:main Oct 27, 2025
genedna pushed a commit to genedna/git-internal that referenced this pull request Mar 15, 2026
Update git protocol doc and reformat core.rs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants