public
Fork of Caged/gitnub
Description: A Gitk-like application written in RubyCocoa that looks like it belongs on a Mac. See the wiki for downloads and screenshots.
Homepage: http://alternateidea.com
Clone URL: git://github.com/eventualbuddha/gitnub.git
Search Repo:
Fix crash when viewing commit with mode change
kballard (author)
Fri Mar 21 17:20:34 -0700 2008
commit  98b5ff64c13c0ff1c1822237d5468186cdb0087b
tree    baa309fd797e739313c6e1aac4617050d762bff3
parent  cd89473f5e13a271cae42f605cd70a9c3793d98e
...
133
134
135
136
 
137
138
139
...
133
134
135
 
136
137
138
139
0
@@ -133,7 +133,7 @@ class CommitsController < OSX::NSObject
0
       li.setInnerHTML(%(<a href="#diff-#{i}" class="">#{diff.b_path}</a>))
0
       file_list.appendChild(li)
0
 
0
- unless diff.deleted_file
0
+ unless diff.deleted_file or diff.diff.nil?
0
         diff_div = doc.createElement('div')
0
         diff_div.setAttribute__('class', 'diff')
0
         diff_div.setAttribute__('id', "diff-#{i}")

Comments

    No one has commented yet.