3 ms·
I admit at that point you might want to break out perl: git log --pretty='format:%H%x00%an%x00%aE%x00%s' | perl -F'\0' -ane ' chomp; print "<tr
by js2 9y ago
I admit at that point you might want to break out perl:
git log --pretty='format:%H%x00%an%x00%aE%x00%s' |
perl -F'\0' -ane '
chomp;
print "<tr>\n";
foreach(@F) {
s|&|&|g;
s|<|<|g;
s|>|>|g;
print "<td>$_</td>\n";
}
print "</tr>\n"'
:)