From: Alex Riesen Date: Wed, 25 Jun 2008 19:04:04 GMT Subject: Re: how to rewalk the commit list after rename detection Message-ID: <20080625190404.GE4039@steel.home> In-Reply-To: <20080623153814.GD15773@redhat.com> Don Zickus, Mon, Jun 23, 2008 17:38:14 +0200: > I am trying to find a way to handle a situation where I am looking for a > change in a particular file, but the filename is old and has since been > renamed. > > Processing the commit list internally (using init_revisions, > setup_revisions, get_revision), I can easily find the rename of the file, > but that is usually the start of the walk for that file (as it was just > deleted for the rename). I do not know how to re-walk the commits list > armed with the new file name. Try looking at git log --follow