public
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/Caged/gitnub.git
Search Repo:
Click here to lend your support to: gitnub and make a donation at www.pledgie.com !
Why use @repo when we have repo()?

Possible fix for crash in ticket #15
kballard (author)
Sat May 10 11:32:48 -0700 2008
commit  b6c6d3b410cca8d34238e509f1138b979b5ab676
tree    ce001e3eddf89bf3e07761b3d61ea82f4d65406b
parent  1fd064f188ba5b0bf0db7ebe8fede24865f2ce8c
...
65
66
67
68
69
70
 
71
72
73
...
65
66
67
 
 
 
68
69
70
71
0
@@ -65,9 +65,7 @@
0
   
0
   ib_action :show_info_panel
0
   def show_info_panel(sender)
0
- if @info_controller.nil?
0
- @info_controller = InfoWindowController.alloc.init_with_repository(@repo)
0
- end
0
+ @info_controller ||= InfoWindowController.alloc.init_with_repository(repo)
0
     @info_controller.showWindow(self)
0
   end
0
   

Comments

    No one has commented yet.