Code Monkey home page Code Monkey logo

Comments (6)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 2, 2024
[deleted comment]

from gource.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 2, 2024
Hi. I'm a bit confused by your example, I'm guessing you left something out by 
accident.

If I use --cc with git log on the Gource repo I see 3 additional changes marked 
with
an MM:

    ::100644 100644 100644 da250cd... bab26a3... 0c51408... MM    src/gource.cpp

    ...

    ::100644 100644 100644 d93d910... 5e688e1... 8011ad3... MM    src/gource.cpp
    ::100644 100644 100644 88850c3... a56fa21... e24c4c5... MM    src/main.cpp


Kind of makes me wonder if the behavior has been changed between git log 
versions.

Original comment by [email protected] on 4 Nov 2009 at 4:48

from gource.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 2, 2024
Hmm.  I'm using Git v1.6.5, but I think we're seeing the same things.  In my 
diff of
the two methods on the Gource repo, I see:

@@ -493,6 +497,7 @@

 user:Andrew Caudwell
 1253763688
+
 user:Sebastian Hahn
 1253764253
 :100644 100644 9cec467... e6f0e7a... M README
@@ -552,6 +557,7 @@

 user:Andrew Caudwell
 1254215542
+
 user:Jeff King
 1254269900
 :100644 100644 8a9e365... 2a98799... M src/git.cpp

(There's more to the diff, but that's the relevant part.)

In both cases, the git log now has an extra line break between the two different
users.  This causes Gource to ignore the first user (who only merged the 
codelines
but didn't actually touch the files) and only show the second user as touching 
the
file (with the beam).

It's not so pronounced in the Gource repo, but my students are using the repo 8 
hours
per day or more, committing roughly every 30 minutes.  This leads to dozens of 
merges
per day, and the changes are far more obvious.  When the merges are counted, it 
looks
like students are all over the place, writing to each other's files.

I don't know that I want to post a git log to a public forum such as this, but 
I'd be
happy to email (a moderately anonymized) one to you so that you could see the 
difference.

Original comment by [email protected] on 4 Nov 2009 at 5:19

from gource.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 2, 2024
[deleted comment]

from gource.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 2, 2024
I thought some more about this and realised I could fix this in the commit 
parser
rather than change the log command.

I've made the Git log parser use the LAST username and timestamp before the 
list of
files rather than the first.

Could you have a go with the updated archive and see if it looks right now?

http://gource.googlecode.com/files/gource-0.16-beta2.tar.gz

Cheers

Original comment by [email protected] on 6 Nov 2009 at 10:39

  • Changed state: Fixed

from gource.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 2, 2024
Works like a champ, as near as I can tell.  Thanks!

Original comment by [email protected] on 6 Nov 2009 at 11:59

from gource.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.