diff --git a/plugins/git-prompt/gitstatus.py b/plugins/git-prompt/gitstatus.py index 66b7c54c0..6383142e8 100644 --- a/plugins/git-prompt/gitstatus.py +++ b/plugins/git-prompt/gitstatus.py @@ -31,7 +31,7 @@ lines = output.splitlines() behead_re = re.compile( r"^Your branch is (ahead of|behind) '(.*)' by (\d+) commit") -diverge_re = re.compile(r"^ and have (\d+) and (\d+) different") +diverge_re = re.compile(r"^and have (\d+) and (\d+) different") status = '' staged = re.compile(r'^# Changes to be committed:$', re.MULTILINE)