Skip to content

Show submodules as modified when they contain a dirty work tree

Jens Lehmann git 2 versions New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v11 patch 5 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Show submodules as modified when they contain a dirty work treediff-lib.c submodule.c submodule.h +1 more+124 -170 replies
2/2Teach diff that modified submodule directory is dirtydiff.c t/t4027-diff-submodule.sh+90 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] Show submodules as modified when they contain a dirty work tree

Here is the updated version of the two patches.

This fixes all issues raised and passes the test suite.

Jens Lehmann (1):
Show submodules as modified when they contain a dirty work tree

Junio C Hamano (1):
Teach diff that modified submodule directory is dirty

 diff-lib.c                  |    8 +++-
 diff.c                      |    9 ++++-
 submodule.c                 |   49 +++++++++++++++++++++++++
 submodule.h                 |    1 +
 t/t4027-diff-submodule.sh   |   84 ++++++++++++++++++++++++++++++++++++++++++-
 t/t7506-status-submodule.sh |   83 ++++++++++++++++++++++++++++++++++--------
 6 files changed, 214 insertions(+), 20 deletions(-)