Greetings.
Our organization currently uses gitorious.So i wanted to ask is there a possibility to send on user email commit changes in html coloured diffs format to improve readability instead of usual diffs? One thing i found in <gitorious>/apps/gitorious/htdocs/lib/event_readeing/text.rb: > def add_diff_content > event_data = PushEventLogger.parse_event_data(@event > <http://answers.bitnami.org/users/326/eventplanner>.data) > start_sha = event_data[:start_sha] > end_sha = event_data[:end_sha] > add("\\nView the diff online: "+ diff_url(start_sha, end_sha) +"\\n\\nDiff: > \\n\\n" + diff_body(start_sha, end_sha)) > end > > def diff_body(start_sha, end_sha) > @event > <http://answers.bitnami.org/users/326/eventplanner>.target.git.git.show({}, > [start_sha, end_sha].join("..")) > end > > def diff_url(start_sha, end_sha) > base_url + "/" + @event > <http://answers.bitnami.org/users/326/eventplanner>.target.url_path + > "/commit/" + start_sha + "/diffs/" + end_sha > end > > As i understood gitorious uses this method to generate diffs: event.target.git.git.show Do you have any additional info regarding this method and the ways to extend it? Thank You. -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected]
