[Insight-developers] Direct commits versus gerrit-merge

Brad King brad.king at kitware.com
Thu Dec 30 12:22:07 EST 2010


On 12/30/2010 12:06 AM, Marcus D. Hanwell wrote:
> We might be able to add a hook. If you use the stage, then there is no
> need to rebase, the hash will match and the Change-Id line will not be
> necessary. So using the stage also negates the need for the Change-Id,
> and makes the history clearer. We could require a Change-Id line as
> the final line of the commit message, but it could still be an
> incorrect change-id.

Change-Id does *not* have to be the final line, but it does need to be in
the "footer".  Only lines matching "^[A-Za-z0-9-]+:" may appear after it.
Update your local hooks:

  http://itk.org/gitweb?p=ITK.git;a=commitdiff;h=6d1fe685

-Brad


More information about the Insight-developers mailing list