public
Description: probably a waste of time
Clone URL: git://github.com/claude/git_local.git
Search Repo:
Changed the lang on the method for diff text
claude (author)
Sun Apr 27 14:32:01 -0700 2008
commit  d3756c890fd726ff2ae1be16b8d9af0eb7fc46c3
tree    03e4f6441b81b6ec77972bb43e5e6cdc92520fa4
parent  580da23702953c9567bb49ec0e04b94237b0479d
...
21
22
23
24
 
25
26
27
...
21
22
23
 
24
25
26
27
0
@@ -21,7 +21,7 @@
0
 get "/history/:name/:id" do
0
   repo = get_repo(params[:name])
0
   commit = repo.commit(params[:id])
0
- diff_text = "[code lang=\"ruby\"]" + repo.diff(commit.parents[0], commit) + "[/code]"
0
+ diff_text = "[code lang=\"diff\"]" + repo.diff(commit.parents[0], commit) + "[/code]"
0
   @formatted_text = Syntaxi.new(diff_text).process
0
   haml :diff
0
 end

Comments

    No one has commented yet.