180 | | == Automatic changeset references in tickets |
181 | | |
182 | | You can automatically add a reference to the changeset as a ticket comment whenever changes are committed to the repository. The description of the commit needs to contain one of the following formulas: |
183 | | * '''`Refs #123`''' - to reference this changeset in `#123` ticket |
184 | | * '''`Fixes #123`''' - to reference this changeset and close `#123` ticket with the default status ''fixed'' |
185 | | |
186 | | This functionality requires installing a post-commit hook as described in [#ExplicitSync], and enabling the optional commit updater components by adding the following line to the `[components]` section of your [wiki:TracIni#components-section trac.ini], or enabling the components in the //Plugins// admin panel. |
187 | | {{{#!ini |
188 | | tracopt.ticket.commit_updater.* = enabled |
189 | | }}} |
190 | | For more information, see the documentation of the `CommitTicketUpdater` component in the //Plugins// admin panel and the [trac:CommitTicketUpdater] page. |
191 | | |