<p>I know I can do most of this by hacking Trac and using Git hooks, but I was wondering if someone has / knows of something ready.</p>

<p>Commenting on (and closing) tickets from commit messages would be nice, specially if the diff appears inline with the comment/closing remark.</p>

<p>sha1 hashes should be auto-linked to gitweb/cigt/custom git browser.</p>

<p>I tried the GitPlugin for Trac, but the code browser was soo slow... any alternatives?</p>

[{'answer_id': 40562, 'author': 'JW.', 'author_id': 4321, 'author_profile': 'https://Stackoverflow.com/users/4321', 'pm_score': 5, 'selected': True, 'text': '<p><a href="http://www.redmine.org/" rel="noreferrer">Redmine</a> can do some of what you\'re asking for.  Integration works in one direction, you must <a href="http://www.redmine.org/projects/redmine/wiki/RedmineSettings#Referencing-issues-in-commit-messages" rel="noreferrer">reference issues in commit messages</a>, and then this data will be available in redmine.  </p>\n\n<p>The data is then available in two views.  The bug display will include a list of matched commits.  The repository display will link commits to bug display pages.</p>\n\n<p>Redmine keeps a local (bare) repository for each project.  This can be the primary repo or a remote mirror.  On updates, redmine parses the commit messages and updates an internal cross reference table of change_set,issue.  </p>\n\n<p>If the redmine repository is only used as a mirror, it will need to be updated.  Updates can happen via cron or via external hook.  We use a <a href="http://mentalized.net/journal/2009/08/03/redmine_plugin_github_hook/" rel="noreferrer">redmine github plugin</a> and a github post-receive hook to keep redmine in sync with a primary github repository.</p>\n\n<p>It works, but it is still a bit clumsy.</p>\n'}, {'answer_id': 645827, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 2, 'selected': False, 'text': "<p>Yeah, I have been looking for something similar!\nthere is no documentation on redmine but the only feature\nthat I am aware is that if you append a dash (#) and a issue\nnumber you get a link to that issue. </p>\n\n<p>For example:</p>\n\n<blockquote>\n  <p>$ git commit -a -m '#45 makes earth rotate in reverse!'</p>\n</blockquote>\n\n<p>would be on visible on the repository and the number will link\nto the issue #45!</p>\n\n<p>I really want to make it so if a commit is liked to a specific\nissue the commit-message gets appended to the issue.</p>\n\n<p>and yes, close, fixed and stuff like that would be great!</p>\n\n<p>I've been browsing for such (git-hooks) or features in redmine for\na while but not much luck! (their documentation sucks!)</p>\n\n<p>somebody post some updates on this topic!</p>\n"}, {'answer_id': 1084754, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 0, 'selected': False, 'text': '<p>Check out this link <a href="http://jazz.net/library/article/194" rel="nofollow noreferrer">here</a>.\nIt provides a tutorial on how Git can be used to integrate with Rational Team Concert. It will give some basic information which can be used to integrate Git with a wide range of other products.</p>\n'}, {'answer_id': 1584034, 'author': 'Corey Trager', 'author_id': 9328, 'author_profile': 'https://Stackoverflow.com/users/9328', 'pm_score': 1, 'selected': False, 'text': '<p><a href="http://ifdefined.com/bugtrackernet.html" rel="nofollow noreferrer">BugTracker.NET</a> is a web-based <a href="http://ifdefined.com/bugtrackernet.html" rel="nofollow noreferrer">bug tracking</a> system that has git integration.  The web pages for the git integration look pretty much like the ones for the subversion integration, documented <a href="http://ifdefined.com/doc_bug_tracker_subversion.html" rel="nofollow noreferrer">here</a>.</p>\n\n<p>You can read more about the philosophy that guided BugTracker.NET/Git integration in this Stackoverflow question: <a href="https://stackoverflow.com/questions/1484153/how-does-bug-tracker-version-control-integration-work-with-typical-git-workflows">How does bug tracker/version control integration work with typical git workflows?</a></p>\n\n<p>See also this question:\n<a href="https://stackoverflow.com/questions/229303/are-there-any-good-issue-tracking-systems-that-can-track-git-commits-branches">https://stackoverflow.com/questions/229303/are-there-any-good-issue-tracking-systems-that-can-track-git-commits-branches</a></p>\n'}, {'answer_id': 1584777, 'author': 'Robert Munteanu', 'author_id': 112671, 'author_profile': 'https://Stackoverflow.com/users/112671', 'pm_score': 4, 'selected': False, 'text': '<p><a href="http://www.mantisbt.org/" rel="nofollow noreferrer">Mantis</a> has a good Git integration, and it\'s exercised by the developers themselves, as the development is driven by Git.</p>\n\n<p>This is how changesets attached to an issue will appear:</p>\n\n<p><img src="https://i.stack.imgur.com/7AyhF.png" alt="Changeset attached to an issue"></p>\n\n<p>You can find more documentation at <a href="http://leetcode.net/blog/2009/01/integrating-git-svn-with-mantisbt/" rel="nofollow noreferrer">Integrating Git and SVN with the Mantis Bug Tracker</a>.</p>\n'}, {'answer_id': 1777305, 'author': 'Andreas Rehm', 'author_id': 216294, 'author_profile': 'https://Stackoverflow.com/users/216294', 'pm_score': 2, 'selected': False, 'text': '<p>trac has a git plugin - it works like the svn version...</p>\n\n<p><a href="http://trac-hacks.org/wiki/TracGitPlugin" rel="nofollow noreferrer">http://trac-hacks.org/wiki/TracGitPlugin</a></p>\n'}, {'answer_id': 3778500, 'author': 'Emmanuele Bassi', 'author_id': 384433, 'author_profile': 'https://Stackoverflow.com/users/384433', 'pm_score': 0, 'selected': False, 'text': '<p>for integration with Bugzilla, you can use git-bz:</p>\n\n<p><a href="http://git.fishsoup.net/man/git-bz.html" rel="nofollow noreferrer">http://git.fishsoup.net/man/git-bz.html</a></p>\n\n<p>it\'s heavily used in the GNOME project.</p>\n'}, {'answer_id': 7004579, 'author': 'Gera', 'author_id': 886941, 'author_profile': 'https://Stackoverflow.com/users/886941', 'pm_score': 3, 'selected': False, 'text': '<p>There\'s also <a href="http://www.theoldmonk.net/gitzilla/">GitZilla</a> (I\'m the author).</p>\n'}, {'answer_id': 9730985, 'author': 'Adclone', 'author_id': 1088833, 'author_profile': 'https://Stackoverflow.com/users/1088833', 'pm_score': 1, 'selected': False, 'text': '<p><a href="https://bitbucket.org" rel="nofollow">https://bitbucket.org</a> - technically it\'s a DVCS service, but it has fully integrated issue tracking.  And it\'s services are really free for small teams (and unlimited free service for .edu people too).</p>\n'}, {'answer_id': 11104557, 'author': "Arioch 'The", 'author_id': 976391, 'author_profile': 'https://Stackoverflow.com/users/976391', 'pm_score': 0, 'selected': False, 'text': '<p>There is sdorra scm-manager tool, integrating Git and Jira</p>\n\n<p>TrackStudio, since version 4, also has Git integration</p>\n'}, {'answer_id': 16637423, 'author': 'Titas', 'author_id': 750495, 'author_profile': 'https://Stackoverflow.com/users/750495', 'pm_score': 0, 'selected': False, 'text': '<p><a href="https://www.assembla.com" rel="nofollow">Assembla</a> offers a free git repository that is private and an integrated bug tracking system - you can change ticket statuses or track time directly through your commit messages. They also offer custom server-side hooks - which allow you to write your own logic and then use it - anything from rejecting commits that do not match certain rules of yours, to starting a CI build after a commit is received.</p>\n'}]
['https://Stackoverflow.com/questions/40495', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/4272/']