[Ksummit-discuss] [TOPIC] Metadata addendum to git commit

Li Zefan lizefan at huawei.com
Wed May 14 01:40:41 UTC 2014


On 2014/5/13 21:25, Takashi Iwai wrote:
> I think this has been already raised a few times, but I'm still
> dreaming one thing in our git management: having some metadata
> collection / link for each commit.
> 
> I don't mean for a thing like post-commit sign-off, but rather for
> tracking the information that has been revealed after commit, e.g. a
> regression the commit causes, the later fix commit, or a bugzilla or
> ML link for the further discussion or debugging session.  The
> regression markers would be especially helpful to avoid a pitfall
> through performing bisection.
> 

Yeah, this is very useful.

For example, instead of adding a tag in the changelog to point to
the guilt commit that introduces the bug:

	Fixes: commit_id ("Subject")

It's much more convenient and useful if we can add metadata to the
guilt commit that points to later fixes, and then we simply ask
git to show us those fixes. This helps a lot to people who need to
backport things to older kernels.

> IMO, it would be convenient if such information can be embedded in the
> published git tree, something like (infamous) git-notes.  But, I'd
> like to hear any other options as well.
> 



More information about the Ksummit-discuss mailing list