commit | ae6d5c1b6f78ef48f606e5a267915fa31b37a679 | [log] [tgz] |
---|---|---|
author | Jens Lehmann <Jens.Lehmann@web.de> | Thu Mar 11 22:50:25 2010 +0100 |
committer | Junio C Hamano <gitster@pobox.com> | Fri Mar 12 22:17:17 2010 -0800 |
tree | a996130e95e7b8406148b630b0ad6ba998b47ca4 | |
parent | 9297f77e6d350f33de961e149dc33c77e7392db4 [diff] |
Refactor dirty submodule detection in diff-lib.c Moving duplicated code into the new function match_stat_with_submodule(). Replacing the implicit activation of detailed checks for the dirtiness of submodules when DIFF_FORMAT_PATCH was selected with explicitly setting the recently added DIFF_OPT_DIRTY_SUBMODULES option in diff_setup_done(). Signed-off-by: Jens Lehmann <Jens.Lehmann@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>