[Lustre-devel] [wc-discuss] Lustre code style Git commit hooks and

James Simmons jsimmons at infradead.org
Wed Nov 9 11:23:13 PST 2011


> > Speaking of I just attempted to push a patch and noticed that no Change-Id 
> > is being generated when I commit a new patch. This is with the default 
> > hooks that I copied form build directory.
> 
> Is this from the tip of the master branch?
> 
> An earlier version of the commit-msg hook used "git hash-object -t commit" and it caused an empty Change-Id string for older versions of Git. The "-t commit" option was removed from the latest version and solved the problem for the people that used it.

Yes your right. I updated the hooks and it works now. I also had to learn 
you need a subsystem: field for commits now. Info about the subsystem 
field is not the wiki.



More information about the lustre-devel mailing list