| repo = Rugged::Repository.clone_at(github, '/tmp/gittemp', {bare: true}) |
| walker = Rugged::Walker.new(repo) |
| walker.sorting(Rugged::SORT_DATE | Rugged::SORT_TOPO) |
| walker.push(repo.head.target); |
| messages += "<div class='page-heading'>Changelog:</div><div>" |
| break if count >= changelogCount |
| messages += "<li>" + commit.author[:name] + "<br/>" + commit.author[:time].to_s() + "<br/>" + commit.message + "</li><br/>" |
| messages += "</ul></div>" |
| FileUtils.rm_rf('/tmp/gittemp') |
| Liquid::Template.register_filter(Jekyll::GitActivity) |