Skip to content

Fix hex/dec error #187

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 20, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion book/10-git-internals/sections/transfer-protocols.asc
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ The `git-receive-pack` command immediately responds with one line for each refer
The first line also has a list of the server's capabilities (here, `report-status`, `delete-refs`, and some others, including the client identifier).

Each line starts with a 4-character hex value specifying how long the rest of the line is.
Your first line starts with 005b, which is 91 in hex, meaning that 91 bytes remain on that line.
Your first line starts with 005b, which is hexadecimal for 91, meaning that 91 bytes remain on that line.
The next line starts with 003e, which is 62, so you read the remaining 62 bytes.
The next line is 0000, meaning the server is done with its references listing.

Expand Down