I am looking for a script such that whenever any developer do any changes in file than email should be sent to the whole group.
For that I have added the DL that is in post shutdown hook
script, but my concern is that mail body should contain:
- file names
- along with the highlighted text that is added by developer in green colour
- and if some text is removed then it should be shown in red colour.
I have gone through the below url in which simply it sends the mail. But in body it does not reflect the changes done to the files.
Anyone have commit notification hook script that will send email upon commit of codes?