On Saturday 01 of February 2014 02:09:49 Darrell Anderson wrote:
The script can
be used locally - generates HTML page very similar
to that on
the web. For example (I have a script located on the folder parent
to my TDE
git tree and tde git folder is now the active folder):
../commit-list-page >../commit-list-page.html
That sounds cool.
For myself I was not thinking of another html page. I was thinking
more of just viewing similar output as the commit page but directly
in the terminal window as stdout.
Darrell
Try this crazy thing (similar to that used in the script):
git submodule --quiet foreach "git log --abbrev=8 --no-merges --pretty=format:
\"%at:%h: %ar: %an: [\$(basename \$PWD)] %B%x01\"" | tr "\n"
"\0" |
tr "\1" "\n" | sed -e "s|^\x00||" -e "s|\x00$||" |
sort -rn | sed -e "s|
^[^:]*:||" -e "s|\x00|\n|g" | less -FX
Slavek
--