From: Junio C Hamano Date: Sat, 15 Apr 2006 19:28:06 GMT Subject: Re: Tentative built-in "git show" Message-ID: <7v3bgefxkp.fsf@assigned-by-dhcp.cox.net> In-Reply-To: Linus Torvalds writes: > This uses the "--no-walk" flag that I never actually implemented (but I'm > sure I mentioned it) to make "git show" be essentially the same thing as > "git whatchanged --no-walk". I sometimes do "git show -4" myself, and wondered why defaulting to "-n 1"is insufficient, but if you do something like this to check the tip of each branch: git show master next pu this may make sense. Otherwise, it feels to me that (I haven't had caffeine nor nicotine yet, so I need to re-think this later) log, show and whatchanged are the same program in disguise with different set of defaults. log --pretty show --pretty -n1 -p whatchanged --pretty -r ... which implies that some of them might become historical curiosity and no real reason to teach about each of them in the tutorial.