This comes as a series; first I'd like to refactor is_submodule_modified to take advantage of the new porcelain=2 plumbing switch to check for changes in the submodule. On top of the refactoring comes the actual change, which moved the rewriting of the submodule change indicator letter to the collection part. Thanks, Stefan Stefan Beller (3): submodule.c: port is_submodule_modified to use porcelain 2 submodule.c, is_submodule_modified: stricter checking for submodules short status: improve reporting for submodule changes Documentation/git-status.txt | 9 +++++++ submodule.c | 58 +++++++++++++++++++++----------------------- t/t3600-rm.sh | 18 ++++++++++---- t/t7506-status-submodule.sh | 24 ++++++++++++++++++ wt-status.c | 13 ++++++++-- 5 files changed, 84 insertions(+), 38 deletions(-) -- 2.12.1.432.gfe308fe33c.dirty