On Nov 28 13:00, Jon Turney wrote: > On 15/11/2022 10:46, Corinna Vinschen wrote: > > > > It would be great if we could get used to using the same syntax as the > > Linux kernel project to document stuff. I'm trying to follow their lead > > for a while. For fixes to former commits, it looks like this in the > > kernel, at the end of the commit message: > > > > Fixes: 123456789012 ("title of commit 123456789012") > > > > Yeah, core.abbrev is 12 digits. I'm using this setting for quite some > > time locally. > > Sounds good. Is there some script to automate generating this kind of > comment from a commit-id?
I don't think so, at least I don't see anything like that in git docs... Corinna