On 13.01.26 12:27, Jonathan Wakely wrote:
> On Tue, 13 Jan 2026 at 11:26, Jonathan Wakely <[email protected]> wrote:
>>
>> On Tue, 13 Jan 2026 at 11:10, Frank Scheiner wrote:
>>> BTW, I have not yet found out how to derive a revision like the just
>>> mentioned one from a git commit hash. I know that it includes a
>>> shortened commit hash and I assume the major GCC version number at
>>> the start, but how can I in general determine such a revision from a
>>> full git commit hash?
>>
>> Using the gcc-descr and gcc-undescr aliases provided by the
>> https://gcc.gnu.org/gitwrite.html#customization setup.
>
> Or the contrib/git-descr.sh and contrib/git-undescr.sh scripts, which
> are what the aliases use.
>
> $ git help gcc-descr
> 'gcc-descr' is aliased to '!f() { "`git rev-parse
> --show-toplevel`/contrib/git-descr.sh" $@; } ; f'
> $ git help gcc-undescr
> 'gcc-undescr' is aliased to '!f() { "`git rev-parse
> --show-toplevel`/contrib/git-undescr.sh" $@; } ; f'
Thanks!
Cheers,
Frank