diff options
author | Jesse Luehrs <doy@tozt.net> | 2016-06-14 08:38:36 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2016-06-14 08:41:50 -0400 |
commit | ad1c710d9fa3ce1cbc79851cc447c05f2f5f4f4d (patch) | |
tree | 2e6d3552098a8a69fa24feb2de3dc1e698e51bfe /bin | |
parent | 78953aadf8f605b5526a7f1b2b90a09fb06fcb4f (diff) | |
download | conf-ad1c710d9fa3ce1cbc79851cc447c05f2f5f4f4d.tar.gz conf-ad1c710d9fa3ce1cbc79851cc447c05f2f5f4f4d.zip |
don't ignore submodules when calculating dirty state
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/fancy-prompt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/fancy-prompt b/bin/fancy-prompt index 866966e..6baddf3 100755 --- a/bin/fancy-prompt +++ b/bin/fancy-prompt @@ -310,10 +310,10 @@ sub git_info { my $dirty = ''; if ($HEAD) { - if (system(q[git diff-files --no-ext-diff --ignore-submodules --quiet])) { + if (system(q[git diff-files --no-ext-diff --quiet])) { $dirty .= '*'; } - if (system(q[git diff-index --cached --no-ext-diff --ignore-submodules --quiet HEAD])) { + if (system(q[git diff-index --cached --no-ext-diff --quiet HEAD])) { $dirty .= '+'; } if (`git ls-files -o --exclude-standard 2>/dev/null`) { |