From: John Keeping Date: Tue, 14 Jul 2015 07:45:08 GMT Subject: Re: git log fails to show all changes for a file Message-ID: <20150714074508.GE1451@serenity.lan> In-Reply-To: <20150714073035.GA22707@aepfle.de> On Tue, Jul 14, 2015 at 09:30:35AM +0200, Olaf Hering wrote: > > I wonder why this command fails to show all commits that modify a given > function: > > linux.git $ git log -p -M --stat -- drivers/hv/channel_mgmt.c > > With commit 1f656ff3fdddc2f59649cc84b633b799908f1f7b init_vp_index() has > "const uuid_le *type_guid" already. And somewhere between commit > d3ba720dd58cdf6630fee4b89482c465d5ad0d0f and the one above the "const" > was added. But git log does not show this commit. > > Why is that so, and whats the command to really show all and every change? It was added in an evil merge (f9da455b93f6ba076935b4ef4589f61e529ae046), try: git log -p -M --stat --cc -- drivers/hv/channel_mgmt.c