RE: [PATCH v2 1/2] EDAC/altera: fix cut and paste error
From: Luck, Tony
Date: Thu Apr 24 2025 - 20:41:06 EST
>> Please just use a 12-digit HASH...
>
> I cut 'n pasted from git blame. I will use a 12-digit HASH for Fixes:
> tag in v3.
Here's a useful alias I picked up (I think from Boris). My ~/.gitconfig has
these lines:
[core]
abbrev = 12
[alias]
one = show -s --pretty='format:%h (\"%s\")'
So I can type this (with the 13 chars from git blame, or any other SHA1)
$ git one 73bcc942f4271
73bcc942f427 ("EDAC, altera: Add Arria10 EDAC support")
and get the canonical form to reference an earlier commit
in e-mail or git commit messages and tags.
-Tony