Code

git-sh-setup.sh: make GIT_EDITOR/core.editor/VISUAL/EDITOR accept commands
[git.git] / builtin-diff.c
index 7f367b6b9d545ea760224fdacb68056261ce1617..b48121e6e21ddd29fbb725c813aa22d0bcee2ea2 100644 (file)
@@ -233,6 +233,7 @@ int cmd_diff(int argc, const char **argv, const char *prefix)
                        die("diff_setup_done failed");
        }
        rev.diffopt.allow_external = 1;
+       rev.diffopt.recursive = 1;
 
        /* Do we have --cached and not have a pending object, then
         * default to HEAD by hand.  Eek.