| 163 | Thus repository_sync_per_request under the trac section is to be unset, and tracopt.ticket.commit_updater.* under component are to be set to enabled. |
| 164 | e.g. : |
| 165 | {{{ |
| 166 | ... |
| 167 | ... |
| 168 | |
| 169 | [trac] |
| 170 | repository_dir = /path/to/git/repos.git/ |
| 171 | ... |
| 172 | repository_sync_per_request = |
| 173 | |
| 174 | ... |
| 175 | ... |
| 176 | |
| 177 | [components] |
| 178 | tracext.git.* = enabled |
| 179 | tracopt.ticket.commit_updater.committicketreferencemacro = enabled |
| 180 | tracopt.ticket.commit_updater.committicketupdater = enabled |
| 181 | ... |
| 182 | ... |
| 183 | }}} |
| 184 | |
| 185 | Also make sure that the user executing the trac-admin command has read access to your TRAC_ENV and write access to your trac.log as well as to your trac database. |
| 186 | |