Skip to content

Instantly share code, notes, and snippets.

@panike
panike / log2html.pl
Created February 4, 2011 16:51
Convert a git log to html
sub new_hl {
my @l = ();
return \@l;
}
@args = @ARGV;
shift @args;
print "<html><body><pre>\n";
open REVLIST, "git log " . join(' ',@args) . " --cc --parents --topo-order|" || die "Cannot get log";
while(<REVLIST>){