recover from bad shas

This commit is contained in:
rick
2010-10-13 09:52:04 -07:00
parent 497b36ad2b
commit 54917bbdb9
3 changed files with 24 additions and 10 deletions
+1 -1
View File
@@ -289,7 +289,7 @@ module Gollum
#
# Returns a Gollum::Page or nil if the page could not be found.
def find_page_in_tree(map, name, checked_dir = nil)
return nil if name.to_s.empty?
return nil if !map || name.to_s.empty?
if checked_dir = BlobEntry.normalize_dir(checked_dir)
checked_dir.downcase!
end