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/dustin/gitnub.git
gitnub / grit / test / profile.rb
100644 21 lines (20 sloc) 0.451 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# require File.join(File.dirname(__FILE__), *%w[.. lib grit])
# include Grit
#
# def recurse(tree, indent = "")
# tree.contents.each do |c|
# case c
# when Tree
# # puts "#{indent}#{c.name} (#{c.id})"
# recurse(c, indent + " ")
# end
# end
# end
#
# 10.times do
# r = Repo.new("/Users/tom/dev/god")
# t = r.tree
#
# recurse(t)
# end
 
500.times { puts `git --git-dir /Users/tom/dev/god/.git ls-tree master` }