acaudwell / Gource

software version control visualization
https://gource.io
GNU General Public License v3.0
11.45k stars 723 forks source link

[Feature] customize log command #281

Closed delanym closed 2 years ago

delanym commented 2 years ago

The command

gource --log-command git

gives

git log --pretty=format:user:%aN%n%ct --reverse --raw --encoding=UTF-8 --no-renames --no-show-signature

and I want it to be

git log --pretty=format:user:%aN%n%ct --reverse --raw --encoding=UTF-8 --no-renames --no-show-signature --all

How can I do that?

acaudwell commented 2 years ago

If you add --output log.txt to the git log command and make any other changes you want and run it (provided you don't change the format), it'll write the output to log.txt, you can then run gource log.txt.

Can also do git log > log.txt on most shells too.