Gource icon indicating copy to clipboard operation
Gource copied to clipboard

[IDEA] Show name of current commit

Open Tymewalk opened this issue 9 years ago • 5 comments

Not sure if it's possible to do this, but I think it would be a neat idea to show the name of the current commit (as in the commit currently displayed on-screen) up in the corner.

Tymewalk avatar Feb 27 '16 03:02 Tymewalk

+1

I was looking for a way to do this myself. Being able to display a stream of commit messages would be a very nice addition.

A way to control how to throttle the messages would also be desirable as it's obviously impossible to display every commit on a large repository scaled over a considerable length of time.

My general idea was to have something that shows the latest commit message (perhaps also with the authors user photo beside it) display on the bottom corner of the screen for a short period before fading up and being replaced.

rainyroads avatar Jun 11 '16 02:06 rainyroads

@FujiMakoto Perhaps there could be a "stack", for example, the most recent 5 commits would be stacked on one another if they appeared close enough together before fading.

For example, if commit A and commit B are both done one after the other, commit A would be stacked on top of commit B. All commits would fade after a few seconds.

If there's more than 5 commits in the "stack", then the top ones fade away regardless.

Tymewalk avatar Jul 03 '16 15:07 Tymewalk

i like this idea. in fact, for my own purposes i'm going to create a gource video, a 2nd video showing commit messages, and overlap them. Reading through commit messages alone can't give me the overview i need of what my team has been up to over a significant time span.

sean9999 avatar Jan 11 '17 19:01 sean9999

I think a feature like that already is possible if you use the captions (https://github.com/acaudwell/Gource/wiki/Captions). You only need something like "git log --pretty='%at|%s' > my_captions.txt".

rlucca avatar Mar 08 '17 04:03 rlucca

@rlucca For others finding this question at a later date: it is necessary to sort the file in ascending order. So "git log --pretty='%at|%s' | sort -n > my_captions.txt" would work. This is explained in issue #102 by @dotnetCarpenter

arejensen avatar Sep 08 '17 08:09 arejensen