Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Jason Bailey Newsgroups: comp.lang.python Subject: View committed code via gitpython Date: Sat, 2 Jul 2016 05:04:31 +0000 Lines: 12 Message-ID: References: <8CA2692E-0B46-4F10-A692-F1584C6A0FB5@emerytelcom.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: news.uni-berlin.de nVYX6w+StpS4QRZCGPbyHAzy6Xrm5FZbVnGYc+1waHrQ== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.028 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'essentially': 0.04; 'subject:code': 0.07; 'commit': 0.15; 'received:io': 0.16; 'received:psf.io': 0.16; 'repo': 0.16; 'all,': 0.20; 'to:name :python-list@python.org': 0.20; 'trying': 0.22; 'matching': 0.23; 'module': 0.25; "i'm": 0.30; 'code': 0.30; 'anyone': 0.32; 'could': 0.35; 'jason': 0.35; 'quite': 0.35; 'to:addr:python- list': 0.36; 'received:10': 0.37; 'thanks': 0.37; 'charset:us- ascii': 0.37; 'listing': 0.38; 'sure': 0.39; 'to:addr:python.org': 0.40; 'some': 0.40; 'savvy': 0.84; 'subject:via': 0.84 Thread-Topic: View committed code via gitpython Thread-Index: AQHR1B83jutGoS7mBEKwPfqQ4xGhAg== Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-ID: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: <8CA2692E-0B46-4F10-A692-F1584C6A0FB5@emerytelcom.com> Xref: csiph.com comp.lang.python:110941 Hi all, I'm trying to essentially replicate "gift grep" functionality with gitpytho= n and am not quite sure how to pull the committed code from the repo using = gitpython. I am successfully listing all the commits, so now all I need to = do is view the code in each commit to do some regex matching on it. Anyone = savvy with this module that could steer me in the right direction??? Thanks Jason=