Fix auto closing of changes on direct push

When a commit is directly pushed into a repository (bypassing code
review) and this commit has a Change-Id in its commit message then the
corresponding change should be automatically closed if it is open.

This worked earlier but got broken by commit
e6298f7216db0ea489cf9e28352ae1d9205cb190.

Change-Id: I531df13c04e165f5f2b425e2a07393c617e71659
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
1 file changed