Teach diff that modified submodule directory is dirty
authorJunio C Hamano <gitster@pobox.com>
Sat, 16 Jan 2010 17:42:53 +0000 (18:42 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sun, 17 Jan 2010 00:40:56 +0000 (16:40 -0800)
A diff run in superproject only compares the name of the commit object
bound at the submodule paths. When we compare with a work tree and the
checked out submodule directory is dirty (e.g. has either staged or
unstaged changes, or has new files the user forgot to add to the index),
show the work tree side as "dirty".

Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Jens Lehmann <Jens.Lehmann@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found