bash completion: factor submodules into dirty state
authorThomas Rast <trast@student.ethz.ch>
Thu, 31 Dec 2009 11:48:41 +0000 (12:48 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 31 Dec 2009 20:40:34 +0000 (12:40 -0800)
In the implementation of GIT_PS1_SHOWDIRTYSTATE in 738a94a (bash:
offer to show (un)staged changes, 2009-02-03), I cut&pasted the
git-diff invocations from dirty-worktree checks elsewhere, carrying
along the --ignore-submodules option.

As pointed out by Kevin Ballard, this doesn't really make sense: to
the _user_, a changed submodule counts towards uncommitted changes.

Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found