|
|
@@ -558,7 +558,8 @@ function! s:finish(pull)
|
|
|
if !empty(s:prev_update.errors)
|
|
|
call add(msgs, "Press 'R' to retry.")
|
|
|
endif
|
|
|
- if a:pull
|
|
|
+ if a:pull && !empty(filter(getline(5, '$'),
|
|
|
+ \ "v:val =~ '^- ' && stridx(v:val, 'Already up-to-date') < 0"))
|
|
|
call add(msgs, "Press 'D' to see the updated changes.")
|
|
|
endif
|
|
|
echo join(msgs, ' ')
|