From: Junio C Hamano Date: Thu, 06 Jan 2011 19:43:04 GMT Subject: Re: log -p hides changes in merge commit Message-ID: <7vwrmhakdz.fsf@alter.siamese.dyndns.org> In-Reply-To: <4D25F6BE.7010300@cfl.rr.com> Phillip Susi writes: > It seems that adding -c or --cc to the log correctly shows the change to > a, but why is this not shown by default? Depends on the definition of "correctly", but perhaps you have a definition different from ours ;-) The "patches" shown with -c/--cc are designed to be different from normal diff so that people do not accidentally try to apply them with "patch" or "git apply". "log -p" omits merge commits by default because diffs of merges are mostly not useful for ordinary purposes. If you are trying to use "log -p" to reproduce a (part of) history, perhaps you would want to also study -m option.