Re: Commit-ish shortcut for immediate parent range
- From
Junio C Hamano <junkio@cox.net>
- Date
- Oct 22, 2006, 23:36 UTC
- Message-ID
- <7v8xj72a9k.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <ehgrj9$8u9$1@sea.gmane.org>
Jakub Narebski <jnareb@gmail.com> writes:
Show 9 quoted lines
> Johannes Schindelin wrote: > >> On Sun, 22 Oct 2006, Jakub Narebski wrote: >> >>> BTW. what does "recursive diff" mean (in git)? >> >> AFAIU it means that the diff code recurses into subdirectories. > > When git-diff _doesn't_ recurse into subdirectories?
When it is not told to.
The Porcelainish commands (git-diff, git-show) default to recursive, but low-level commands don't.
Compare these three:
git diff --raw v1.4.3.1^^^..v1.4.3.1^^ git diff-tree v1.4.3.1^^^..v1.4.3.1^^ git diff-tree -r v1.4.3.1^^^..v1.4.3.1^^