X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=submodule.c;h=1ba9646d3484fe2a11c1faba339c4e333186085e;hb=182f22893078a65110aaaf98100e85618fca83b2;hp=b6dec70bd1a6b35c8ecc6a1a9953d64bfe6c4510;hpb=df9b29ce82ba24729d5431f5e9751470e3a44f25;p=git.git diff --git a/submodule.c b/submodule.c index b6dec70bd..1ba9646d3 100644 --- a/submodule.c +++ b/submodule.c @@ -388,6 +388,7 @@ void check_for_new_submodule_commits(unsigned char new_sha1[20]) while (parent) { struct diff_options diff_opts; diff_setup(&diff_opts); + DIFF_OPT_SET(&diff_opts, RECURSIVE); diff_opts.output_format |= DIFF_FORMAT_CALLBACK; diff_opts.format_callback = submodule_collect_changed_cb; if (diff_setup_done(&diff_opts) < 0)