Avoid duplicate references by commit_updater
|Reported by:||Owned by:|
When creating new branches out of a git repository with commits with references to ticket, CommitTicketUpdater will happily add new, duplicate, comments.
Attached patch for 1.0 adds two features along with their toggles :
- detection of comments that already reference the changeset that is being added, and skips the update in that case. So no new comment nor email notification;
- and the disabling of email notifications when a changeset references to a closed ticket. The comment in the ticket is added however.
Point number 2 is specially helpful for the case where an svn repository is migrated to git: even though it is nice to have the reference to the git commit, it's useless to spam people about ancient commits.