git.rb: whitespace fuckupcc/mastermaster
authorMatthias Lederhofer <[email protected]>
Wed, 24 Jan 2007 17:39:00 +0000 (24 18:39 +0100)
committerMatthias Lederhofer <[email protected]>
Wed, 24 Jan 2007 17:39:00 +0000 (24 18:39 +0100)
git.rb

diff --git a/git.rb b/git.rb
index 04424d8..aa52a28 100644 (file)
--- a/git.rb
+++ b/git.rb
@@ -62,25 +62,25 @@ module Git
   end
 end
 
-if $0 == __FILE__ 
-  require 'git' 
-  r = Git::Repository.new(ARGV[0]) 
-  ARGV[1..-1].each do |sha1| 
-    o = r.get_object_by_sha1(sha1) 
-    if !o 
-      puts 'no such object' 
-      next 
-    end 
-    puts o.type 
-    case o.type 
-    when :blob 
-      puts o.content 
-    when :tree 
-      puts o.entry.collect { |e| "%s %s" % [e.sha1, e.name] }.join("\n") 
-    when :commit 
-      puts o.raw_content 
-    when :tag 
-      puts o.raw_content 
-    end 
-  end 
-end                                                                                     
+if $0 == __FILE__
+  require 'git'
+  r = Git::Repository.new(ARGV[0])
+  ARGV[1..-1].each do |sha1|
+    o = r.get_object_by_sha1(sha1)
+    if !o
+      puts 'no such object'
+      next
+    end
+    puts o.type
+    case o.type
+    when :blob
+      puts o.content
+    when :tree
+      puts o.entry.collect { |e| "%s %s" % [e.sha1, e.name] }.join("\n")
+    when :commit
+      puts o.raw_content
+    when :tag
+      puts o.raw_content
+    end
+  end
+end