diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-01-26 22:53:13 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-01-26 22:53:13 -0800 |
commit | d539de9f25920f099e4e56b0acbb4ebf246ff0f4 (patch) | |
tree | 8453048a2a8f5a8a84d66e5c8dfd4784bdec49b6 /diff.c | |
parent | 3fa7c3da379bb47a0e7a52ffc13cb366add880a2 (diff) | |
parent | 721ceec1ad12625e90b395fd0be0fae9049ebc22 (diff) | |
download | git-d539de9f25920f099e4e56b0acbb4ebf246ff0f4.tar.gz |
Merge branch 'jl/diff-submodule-ignore'
* jl/diff-submodule-ignore:
Teach diff --submodule that modified submodule directory is dirty
git diff: Don't test submodule dirtiness with --ignore-submodules
Make ce_uptodate() trustworthy again
Diffstat (limited to 'diff.c')
-rw-r--r-- | diff.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1615,7 +1615,7 @@ static void builtin_diff(const char *name_a, const char *del = diff_get_color_opt(o, DIFF_FILE_OLD); const char *add = diff_get_color_opt(o, DIFF_FILE_NEW); show_submodule_summary(o->file, one ? one->path : two->path, - one->sha1, two->sha1, + one->sha1, two->sha1, two->dirty_submodule, del, add, reset); return; } |