Gerrit: Generate Change-Id automatically in commit message

david.michonneau 3 years ago updated by Thomas Singer 3 years ago 0

When pushing to gerrit, a change-id is required in the commit message. This can be automated by registering a hook, but it's a manual operation that has to be done for each new repository. It would be great that SmartGit adds a checkbox to generate a Change-ID automatically, like the Eclipse eGit plugin does. Even better, if SmartGit could be smart and catch the "Missing Change-id" message and propose to generate one, or register the hook in one click.