Skip to content

Abbreviate commits to 7 characters#1539

Open
fionn wants to merge 1 commit intolewis6991:mainfrom
fionn:abbrev-sha-7-characters
Open

Abbreviate commits to 7 characters#1539
fionn wants to merge 1 commit intolewis6991:mainfrom
fionn:abbrev-sha-7-characters

Conversation

@fionn
Copy link
Copy Markdown
Contributor

@fionn fionn commented Apr 6, 2026

Conventionally, Git commits in hexadecimal are abbreviated to 7 characters (or more if necessary).

By matching this, we can more easily identify matching commits at a glance between the gitsigns blame output and other tools that print abbreviated commit hashes.

Additionally, we save a character, making the output (marginally) easier to fit.

Conventionally, Git commits in hexadecimal are abbreviated to
7 characters (or more if necessary).

By matching this, we can more easily identify matching commits at
a glance between the gitsigns blame output and other tools that print
abbreviated commit hashes.

Additionally, we save a character, making the output (marginally) easier
to fit.
@fionn fionn force-pushed the abbrev-sha-7-characters branch from fd97f99 to 86a644a Compare April 6, 2026 11:55
@fionn fionn marked this pull request as draft April 6, 2026 11:56
@fionn fionn force-pushed the abbrev-sha-7-characters branch from 86a644a to 79634ca Compare April 6, 2026 11:58
@fionn fionn marked this pull request as ready for review April 6, 2026 12:02
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.

1 participant