Changes between Version 14 and Version 15 of TracGit
- Timestamp:
- Mar 9, 2015, 8:35:53 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracGit
v14 v15 75 75 repository_dir = /path/to/my/git/repository/.git 76 76 }}} 77 77 78 Also in there, make sure you specify the location of the `git` executable, in case it's not the default `/usr/bin/git`. As an example, for Windows: 78 79 {{{#!ini … … 115 116 enable post-receive hook functionality on your repository, put a post-receive script into `your_repository/.git/hooks/`. 116 117 117 TODO: Include post-receive scripts attached to http://trac-hacks.org/wiki/GitPlugin#post-receivehookscripts118 TODO: Include post-receive scripts attached to th:GitPlugin#post-receivehookscripts 118 119 119 120 You can then enable the CommitTicketUpdater functionality in your `trac.ini` by adding: … … 131 132 * If you are noticing a slow down in trac with a repository above 500 commits, try disabling the caching. It seems to bog things down as a repo grows(!) 132 133 * Don't forget to enable the plugin: 133 134 135 136 134 {{{#!ini 135 [components] 136 tracopt.versioncontrol.git.* = enabled 137 }}} 137 138 * If you don't see the `shortrev` and `commit` branch, you probably have caching enabled (`cached_repository = true`, `persistent_cache = true`). Set those to false. 138 139 * For Trac < 1.0.2, the source browser can throw an error when trying to kill a git log process; it's not clear why it should be an error for the process to have completed. This problem manifests as a stack trace with terminate_nix at the end (#10958). … … 144 145 == History 145 146 146 The Git support was initially developed as a plugin by Herbert Valerio Riedel for Trac 0.10-0.13. See TracHacks:GitPlugin / [ https://github.com/hvr/trac-git-plugin GitHub]. For Trac 1.0, it has now been included as an optional component (#10594), and is maintained and developed here.147 The Git support was initially developed as a plugin by Herbert Valerio Riedel for Trac 0.10-0.13. See TracHacks:GitPlugin / [github:hvr/trac-git-plugin GitHub]. For Trac 1.0, it has now been included as an optional component (#10594), and is maintained and developed here.