Edgewall Software

Changes between Version 14 and Version 15 of TracGit


Ignore:
Timestamp:
Mar 9, 2015, 8:35:53 PM (9 years ago)
Author:
Ryan J Ollos
Comment:

Page cleanup.

Legend:

Unmodified
Added
Removed
Modified
  • TracGit

    v14 v15  
    7575repository_dir = /path/to/my/git/repository/.git
    7676}}}
     77
    7778Also 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:
    7879{{{#!ini
     
    115116enable post-receive hook functionality on your repository, put a post-receive script into `your_repository/.git/hooks/`.
    116117
    117 TODO: Include post-receive scripts attached to http://trac-hacks.org/wiki/GitPlugin#post-receivehookscripts
     118TODO: Include post-receive scripts attached to th:GitPlugin#post-receivehookscripts
    118119
    119120You can then enable the CommitTicketUpdater functionality in your `trac.ini` by adding:
     
    131132* 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(!)
    132133* Don't forget to enable the plugin:
    133   {{{#!ini
    134   [components]
    135   tracopt.versioncontrol.git.* = enabled
    136   }}}
     134 {{{#!ini
     135[components]
     136tracopt.versioncontrol.git.* = enabled
     137}}}
    137138* 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.
    138139* 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).
     
    144145== History
    145146
    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.
     147The 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.