author | Jens Lehmann <Jens.Lehmann@web.de> | |
Sun, 24 Jan 2010 14:09:00 +0000 (15:09 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 25 Jan 2010 05:04:31 +0000 (21:04 -0800) | ||
commit | 721ceec1ad12625e90b395fd0be0fae9049ebc22 | |
tree | 3098483d3a51c1157b5bd9e1db7790e5137aaf2f | tree | snapshot |
parent | 4d34477f4c5dbebc55aa1362fd705440590a85f1 | commit | diff |
Teach diff --submodule that modified submodule directory is dirty
Since commit 8e08b4 git diff does append "-dirty" to the work tree side
if the working directory of a submodule contains new or modified files.
Lets do the same when the --submodule option is used.
Signed-off-by: Jens Lehmann <Jens.Lehmann@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Since commit 8e08b4 git diff does append "-dirty" to the work tree side
if the working directory of a submodule contains new or modified files.
Lets do the same when the --submodule option is used.
Signed-off-by: Jens Lehmann <Jens.Lehmann@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff.c | diff | blob | history | |
submodule.c | diff | blob | history | |
submodule.h | diff | blob | history | |
t/t4041-diff-submodule.sh | diff | blob | history |