255 256 257 258 259 260 261 262 263 264
# File 'lib/grit/commit.rb', line 255 def notes ret = {} notes = Note.find_all(@repo) notes.each do |note| if n = note.commit.tree/(self.id) ret[note.name] = n.data end end ret end