From e9934744989848e2d924115adc737c8a8c9f99a8 Mon Sep 17 00:00:00 2001
From: wsdjeg <wsdjeg@outlook.com>
Date: Tue, 25 Apr 2023 00:02:01 +0800
Subject: [PATCH] fix(git): ignore remote message

ignore message when run git push
---
 bundle/git.vim/autoload/git/push.vim | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bundle/git.vim/autoload/git/push.vim b/bundle/git.vim/autoload/git/push.vim
index 3959df580..09dc4da6d 100644
--- a/bundle/git.vim/autoload/git/push.vim
+++ b/bundle/git.vim/autoload/git/push.vim
@@ -57,7 +57,7 @@ endfunction
 
 
 function! s:on_stdout(id, data, event) abort
-  for line in filter(a:data, '!empty(v:val) && v:val !=# "^remote:"')
+  for line in filter(a:data, '!empty(v:val) && v:val !~# "^remote:"')
     let s:NOTI.notify_max_width = max([strwidth(line) + 5, s:NOTI.notify_max_width])
     call s:NOTI.notify(line, 'Normal')
   endfor
@@ -69,7 +69,7 @@ endfunction
 " why git push normal info to stderr
 
 function! s:on_stderr(id, data, event) abort
-  call extend(s:std_data.stderr, filter(a:data, '!empty(v:val) && v:val !=# "^remote:"'))
+  call extend(s:std_data.stderr, filter(a:data, '!empty(v:val) && v:val !~# "^remote:"'))
 endfunction
 
 function! s:options() abort