News for hackers. Stuff that matters.
Re:Stagit – A static Git page generator by progman on Wednesday August 02, 2017 @10:09AM (#14910671)
You can have something like that also in your shell. Just apply

  git log --reverse | perl githead.pl
where githead.pl is

  my $date, $old; while (my $line = <>) { chomp $line; next unless $line; $date = "$1 $2 $3" if $line =~ m|Date:\s+(.+?)\s+(.+?)\s+(.+?)\s+|; if ($line =~ m/^\s+/) { if ($date ne $old) { printf("%-10s%s\n",$date,$line); $old = $date; } else { printf("%-10s%s\n",'',$line); }}}

There are no comments on this comment yet.