Is there something like a blamed diff?
When comparing two branches, decorating the flat diff with the respectively responsible commits seems like it would be nice to do/have (the blame on the identical parts, in contrast, is not really interesting). Is there any tool that provides something like that?
Signature · 1 line
David Kastrup
Quoted 4 lines · David Kastrup
When comparing two branches, decorating the flat diff with the respectively responsible commits seems like it would be nice to do/have (the blame on the identical parts, in contrast, is not really interesting). Is there any tool that provides something like that?
This seems to come up every year or so:
http://thread.gmane.org/gmane.comp.version-control.git/110369/focus=110383
Signature · 2 lines
Thomas Rast [email protected]
Quoted 10 lines · Thomas Rast
Quoted 4 lines · David Kastrup
When comparing two branches, decorating the flat diff with the respectively responsible commits seems like it would be nice to do/have (the blame on the identical parts, in contrast, is not really interesting). Is there any tool that provides something like that?
This seems to come up every year or so:
http://thread.gmane.org/gmane.comp.version-control.git/110369/focus=110383
Nice. That one could likely be sped up by calling git-blame just once on each file with multiple -L options.
Though actually with the current implementation of git-blame you are likely faster for a large number of differences by doing each region separately anyway since then the cost for digging through the history is obviously O(n) for n consecutive runs on n chunks while the administrative overhead for several chunks in a single run is O(n^2) at the moment.
Signature · 1 line
David Kastrup
Quoted 9 lines · David Kastrup
Quoted 7 lines · Thomas Rast
Quoted 4 lines · David Kastrup
When comparing two branches, decorating the flat diff with the respectively responsible commits seems like it would be nice to do/have (the blame on the identical parts, in contrast, is not really interesting). Is there any tool that provides something like that?
Quoted 6 lines
Quoted 3 lines
This seems to come up every year or so:
http://thread.gmane.org/gmane.comp.version-control.git/110369/focus=110383
Nice. That one could likely be sped up by calling git-blame just once on each file with multiple -L options.
Yes. You'll note that the email predates the support for multiple -L options by a few years :-)
I never had a need for such a script, I just wrote that in response to someone asking about it. If you find it useful, please clean it up for inclusion in contrib/.
Signature · 2 lines
Thomas Rast [email protected]