author | Jeff King <peff@peff.net> | |
Sun, 29 Jul 2007 09:49:56 +0000 (05:49 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 29 Jul 2007 20:24:42 +0000 (13:24 -0700) | ||
commit | 82cb8afa9bf24d2f77a6d565cdc08d6aa1febeb4 | |
tree | 1dce535b172dc2e73999bb2da2026a862847cfc1 | tree | snapshot |
parent | c22486c9677682416ae6ad3ee77688e8b6923ee3 | commit | diff |
git-diff: turn on recursion by default
The tree recursion behavior of git-diff may appear
inconsistent to the user because it depends on the format of
the patch as well as whether one is diffing between trees or
against the index.
Since git-diff is a porcelain wrapper for low-level diff
commands, it makes sense for its behavior to be consistent
no matter what is being diffed. This patch turns on
recursion in all cases.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The tree recursion behavior of git-diff may appear
inconsistent to the user because it depends on the format of
the patch as well as whether one is diffing between trees or
against the index.
Since git-diff is a porcelain wrapper for low-level diff
commands, it makes sense for its behavior to be consistent
no matter what is being diffed. This patch turns on
recursion in all cases.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-diff.c | diff | blob | history | |
t/t9300-fast-import.sh | diff | blob | history |