diff options
author | Thomas Rast <trast@student.ethz.ch> | 2009-12-31 12:48:41 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-12-31 12:40:34 -0800 |
commit | cf6e7ba1c4c29fda3f16bfd4a4f1995ed45082d5 (patch) | |
tree | c13adaa313b0a00067d836692cba47a77cc6c962 /test-sigchain.c | |
parent | Prevent git blame from segfaulting on a missing author name (diff) | |
download | tgif-cf6e7ba1c4c29fda3f16bfd4a4f1995ed45082d5.tar.xz |
bash completion: factor submodules into dirty state
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>
Diffstat (limited to 'test-sigchain.c')
0 files changed, 0 insertions, 0 deletions