This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author cheryl.sabella
Recipients Paul.Davis, cheryl.sabella, docs@python, dstanek, eric.araujo, terry.reedy
Date 2017-12-09.12:25:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1512822316.32.0.213398074469.issue8722@psf.upfronthosting.co.za>
In-reply-to
Content
>> Is there a way to get an annotated listing from git (given which patch, and therefore which person, is responsible for each line)?

Which source did you want to look at?  In github, if you go into any source, you can click on a line and it gives an option for 'git blame'.  That shows the last commit change for each line.  You can then click an icon to see a previous commit, etc.  For the .rst sources, it's a little different and there is a Blame button at the top of the source that will bring up the same view (commit annotations to the left of the source) as right-clicking.

I had posted about git blame a few months ago on core mentorship and Carol Willing mentioned another tool to get all the changes by line.  Here was her post:

Thanks for passing along the tip for others. You may also find the npm package `git-guilt` useful as it will display all the contributors to a particular line's history. https://www.npmjs.com/package/git-guilt <https://www.npmjs.com/package/git-guilt>
History
Date User Action Args
2017-12-09 12:25:16cheryl.sabellasetrecipients: + cheryl.sabella, terry.reedy, dstanek, eric.araujo, docs@python, Paul.Davis
2017-12-09 12:25:16cheryl.sabellasetmessageid: <1512822316.32.0.213398074469.issue8722@psf.upfronthosting.co.za>
2017-12-09 12:25:16cheryl.sabellalinkissue8722 messages
2017-12-09 12:25:15cheryl.sabellacreate