>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
You are clever and skilled!
How about your script for the html page? I'd like to test that too.
:)
Darrell
>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
>I have a proposal for a new script :)
>
>The primary difference is that the patches are referenced directly
>into
>the GIT => do not need separate files with patches, not need
>additional
>space for these files. To generate the page so just processing the
>output
>from: git submodule foreach "git log ..." (yes, there is a little
>magic
>due to multiline comments). On my elderly machine this takes 16
>seconds.
>
>A side effect is that each commit is in html a single line - it
>might be
>easy to add pagination option.
>
>What do you think?
I just want to see something that we can use locally. The web page
is great for visitors and community members. But those of us on the
development team should have a way of creating the same list
locally. I'll be happy to test anything like that.
Darrell