Re: log -p hides changes in merge commit
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 7, 2011, 20:27 UTC
- Message-ID
- <7vk4ig5uib.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <4D276926.2020407@cfl.rr.com>
Phillip Susi <psusi@cfl.rr.com> writes:
> That does help me understand the difference between -c and -cc, but I > still don't see why one or the other is not the default behavior of log > -p, instead of opting to never show anything at all for merges?
Assuming this is about the default, the answer is very simple. The features to support -c and --cc came _much_ later than -p, and many people have got used to the default behaviour after using "log -p" for a long time. It simply is rude to change the default on them.
As -c or --cc won't do anything special on a non-merge commit, you can always say "log -p --cc" if that output is what you want to see.