acaudwell/Gource

fails to parse git log straight from repo

matthiaskrgr opened this issue · 1 comments

Not sure what exactly is happening here, I tried to run it on https://github.com/mozilla/gecko-dev

When I run gource inside the repo, as well as when I generate my own log via git log --pretty=format:user:%aN%n%ct --reverse --raw --encoding=UTF-8 --no-renames --no-show-signature and then run gource on the log file, gource will just terminate with gource: failed to generate log file and not elaborate any further.

Gource v0.53

Interesting.

Looks like its because the first two commits have a unix timestamp of 0 for some odd reason. Gource is a bit naively assuming its 0 because it failed to parse. It gives up if it can't parse the first commit. If you edit the file and change them to 1, it works.

The validation could be fixed so that it still works here.