Which git hash to supply on Fixes: line -- never mind

Mark Geisert mark@maxrnd.com
Mon Nov 13 09:40:11 GMT 2023


On Sun, 12 Nov 2023, Mark Geisert wrote:
> Hi folks,
> I want to submit a patch that fixes 'profiler'.  The Fixes: line of the patch 
> commentary should reference the original addition of profiler to the Cygwin 
> source tree.
>
> Using the gitweb interface, the commit display of profiler.cc shows:
> author	  Mark Geisert <mark@maxrnd.com>  2021-07-15 21:49:55 -0700
> committer Jon Turney <jon.turney@...>     2021-07-19 13:28:37 +0100
> commit	9bd6c0b2b1081ae72d8273038309887fb27f6126 (patch)
> tree	360d7d3cc748683eb9e63729a7e52a62012730e4 /winsup/utils/profiler.cc
> parent	Cygwin: cfsetspeed: allow speed to be a numerical baud rate (diff)
>
> Do I use the last 13 nibbles of the "commit" hash or the "tree" hash?

Never mind; I've figured it out.  It's the "commit" hash, which I 
determined by 'git log profiler.cc'.  Obvious in hindsight.
Cheers,

..mark


More information about the Cygwin-patches mailing list