def tree_path(treemap, tree)
      if (ptree = treemap[tree])
        tree_path(treemap, ptree) + '/' + tree.name
      else
        ''
      end
    end
def tree_path(treemap, tree)
      if (ptree = treemap[tree])
        tree_path(treemap, ptree) + '/' + tree.name
      else
        ''
      end
    end
The full directory path for the given tree.

 treemap - The Hash treemap containing parentage information.
 tree    - The Gollum::Git::Tree for which to compute the path.

 Returns the String path.