From: Jakub Narebski Date: Thu, 14 Jun 2007 21:55:06 GMT Subject: Re: git log -p file.c Message-ID: In-Reply-To: <20070614090217.GA8271@informatik.uni-freiburg.de> [Cc: git@vger.kernel.org] Uwe Kleine-Koenig wrote: > when I run > > git log -p file.c > > I don't get the complete change a commit introduces but only how file.c > changed. This is kind of surprising for me, I had expected to get the > whole diff. Try unfortunately _undocumented_ --full-diff option to git-log. git log -p --full-diff -- file.c (the --full-diff option was introduced in commit-477f2b41 without adding appropriate info to Documentation/git-log.txt) > And is it intended that (clean) merges are shown? Path limiting simplifies history, and might linearize it (i.e. merges become non-merges). -- Jakub Narebski Warsaw, Poland ShadeHawk on #git