From f708dc7002ba8c1569eeef521ff595b157765e87 Mon Sep 17 00:00:00 2001 From: Brian Lopez Date: Thu, 20 Jan 2011 15:06:21 -0800 Subject: [PATCH] fix bug due to the way Array#to_s works in 1.9 --- lib/gollum/git_access.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gollum/git_access.rb b/lib/gollum/git_access.rb index 808e4f2e..21444f68 100644 --- a/lib/gollum/git_access.rb +++ b/lib/gollum/git_access.rb @@ -221,7 +221,7 @@ module Gollum # Returns an Array of BlobEntry instances. def parse_tree_line(line) mode, type, sha, size, *name = line.split(/\s+/) - BlobEntry.new(sha, name.to_s, size.to_i) + BlobEntry.new(sha, name.join(' '), size.to_i) end # Decode octal sequences (\NNN) in tree path names.