Gamatora / gource

Automatically exported from code.google.com/p/gource
0 stars 0 forks source link

Gource not recognizing git log / git directory #104

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. clone git://git.abakus.no/naut
2. enter the git directory; run gource (or generate log and run gource with the 
log)
3. observe that gource says that the directory is invalid or the log has wrong 
format

What is the expected output? What do you see instead?
expected: gource showing the graph.
experienced: gource: unsupported log format (you may need to regenerate your 
log file)

What version of the product are you using? On what operating system?
Gource version 0.26 (also tested with 0.28).
Ubuntu 10.10
Git 1.7.1

Please provide any additional information below.
failing log is attached.

Original issue reported on code.google.com by freq...@gmail.com on 23 Nov 2010 at 1:46

Attachments:

GoogleCodeExporter commented 9 years ago
The repository url was wrong; the correct url is
git://git.abakus.no/nerd

Original comment by freq...@gmail.com on 23 Nov 2010 at 1:50

GoogleCodeExporter commented 9 years ago
Hi. I think the problem is some of your commits have no timestamp.

Gource uses %ct - the committer date in unix timestamp format.

You could edit the git log command to use %at instead of %ct (author date), 
seems kind of odd that there's no committer date though?

Original comment by acaudw...@gmail.com on 24 Nov 2010 at 1:01

GoogleCodeExporter commented 9 years ago
Thank you;  The following command

git log --pretty=format:user:%aN%n%at --reverse --raw --encoding=UTF-8 
--no-renames --after=1971-01-01

This filters out all the commits without dates (from 1970); which probably 
appeared because the repository has been converted from mercurial.

Original comment by freq...@gmail.com on 24 Nov 2010 at 7:29

GoogleCodeExporter commented 9 years ago

Original comment by acaudw...@gmail.com on 13 Mar 2011 at 9:04