summaryrefslogtreecommitdiff
path: root/git-hooks/commit-msg
AgeCommit message (Collapse)Author
2012-05-14fix issue with repeated I in case of amend commitNorbert Thiebaud
Change-Id: I2f0f02fb545ae6d63f2d4e46327f6ee402ab608c
2012-05-03commit-hook: tweak add_ChangeId() to tolerate git-am -s behaviorNorbert Thiebaud
git-am -s add systematically an empty line before adding the signoff line, which interfere with gerrit's rule that the ChangeID must be in the last paragraph This patch address that be remoming an existing Change-Id from the commit message and re-insterting it at the 'proper' place Change-Id: I I742b17031c6e3da4f9d94dcb0579bce8c496d41d Signed-off-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-04-26add gerrit ChangeId generation to commit-msg git hookNorbert Thiebaud
Change-Id: I30c370f0479743a831be29a0fa7cb447c7119ee4
2012-03-24git-hooks: commit-msg should not search for whitespace in the diff itselfMiklos Vajna
The additional sed removes every line after seeing the first line starting with a #, just like git will do it later as well. See: http://article.gmane.org/gmane.comp.documentfoundation.libreoffice.devel/26794
2012-03-06call the gerrit commit-msg hook if presentNorbert Thiebaud
This a a prep-work for if and when we use gerrit it is very important to call gerrit's commit-msg hook and the sooner we teach our own hook to play nice with it the less likely we will have issue during migration
2011-11-15commit-msg hook: allow commit message that *starts* with an asteriskLionel Elie Mamane
2010-11-30git-hooks: Copy them from the build repo.Jan Holesovsky