- bash
- git
- create
client_replication_remotesfile in${GERRIT_SITE}/etc/(syntax in example below) - create
change-mergedfile in${GERRIT_SITE}/hooks - make
change-mergedexecutable (chmod +x change-merged)
Gerrit daemon restart is not needed, hook will be fired at the nearest opportunity.
git command output is stored in ${GERRIT_SITE}/logs/change-merged_log