pombreda / gource

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

Problems with gource and Git #96

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download gource-0.28.win32.zip
2. Extract to any folder (that folder is in the %PATH%)
3. Execute `gource` from command line from my project's folder (where .git 
folder is)

What is the expected output? What do you see instead?
Expected - graph. Instead I see error message:

  fatal: ambiguous argument 'and': unknown revision or path not in the working tree.
  Use '--' to separate paths from revisions
  gource: unable to read log file
  Try 'gource --help' for more information.

  Press Enter

What version of the product are you using? On what operating system?
WinXP SP3, Gource-0.28, git 1.7.0.2.msysgit

Original issue reported on code.google.com by alex.fra...@gmail.com on 13 Sep 2010 at 2:34

GoogleCodeExporter commented 9 years ago
I think this is coming from the git log command. If you run `gource 
--git-log-command` it prints the command it uses, so you could try this and see 
if you get the same thing. 

Original comment by acaudw...@gmail.com on 13 Sep 2010 at 9:54

GoogleCodeExporter commented 9 years ago
Thank you for your answer!
Gource git log command appears to be

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

I launched it and got detailed log (~28K). What can be wrong?

Original comment by alex.fra...@gmail.com on 14 Sep 2010 at 12:30

GoogleCodeExporter commented 9 years ago
Any idea what 'and' is referring to? Do you have a file called and?

If the command itself works, as a work around you can still write it to a file 
first. ie:

{{{
git log --pretty=format:user:%aN%n%ct --reverse --raw --encoding=UTF-8 
--no-renames > gource.log
gource gource.log
}}}

Original comment by acaudw...@gmail.com on 15 Sep 2010 at 11:06

GoogleCodeExporter commented 9 years ago
> git log --pretty=format:user:%aN%n%ct --reverse --raw --encoding=UTF-8 
--no-renames > gource.log
> gource gource.log

This worked! Thank you very much!

[offtopic] Looks awesome :) I have 300Mb repo and 10 developers - this 
animation is great!

Original comment by alex.fra...@gmail.com on 17 Sep 2010 at 11:19

GoogleCodeExporter commented 9 years ago

Original comment by acaudw...@gmail.com on 17 Nov 2010 at 10:02