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/drodriguez/gitnub.git
gitnub / grit / test / test_reality.rb
100644 17 lines (16 sloc) 0.4 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
require File.dirname(__FILE__) + '/helper'
 
# class TestTreeRecursion < Test::Unit::TestCase
# def test_
# r = Repo.new("/Users/tom/dev/god")
# t = r.tree("HEAD")
#
# recurse(t)
# end
#
# def recurse(tree, indent = "")
# tree.contents.each do |c|
# # puts "#{indent}#{c.name} (#{c.id})"
# recurse(c, indent + " ") if c.kind_of?(Tree)
# end
# end
# end