Skip to content

Conversation

@ilyagr
Copy link
Contributor

@ilyagr ilyagr commented Sep 25, 2025

I wanted to mention the fact that a full change id is 32 reverse-hexadecimal letters long. Before, the text could be interpreted as though it was 12 or 16.

I wanted to mention the fact that a full change id is 32
reverse-hexadecimal letters long. Before, the text could
be interpreted as though it was 12 or 16.
@ilyagr ilyagr marked this pull request as ready for review September 25, 2025 19:50
@ilyagr ilyagr requested a review from a team as a code owner September 25, 2025 19:50
@algmyr
Copy link
Member

algmyr commented Sep 29, 2025

Is 12 accurate? I see 8 with the default log

Comment on lines +60 to +61
By default, `jj log` presents a 12-letter prefix of the 32-letter change
id, at the beginning of a line.
Copy link
Member

Choose a reason for hiding this comment

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

It's 64 hex digits at Google. Should we say that it can vary?

Copy link
Contributor

Choose a reason for hiding this comment

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

yes, it should :-)

A change ID is a unique identifier for a [change](#change).

A change id typically consists of 16 bytes of information, usually
randomly generated when a change is created. A full change id, as shown
Copy link
Member

Choose a reason for hiding this comment

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

nit: I think we usually use uppercase "ID"

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.

4 participants