File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -390,6 +390,21 @@ def _parse_progress_line(self, line):
390390 if len (self .error_lines ) > 0 or self ._cur_line .startswith (('error:' , 'fatal:' )):
391391 self .error_lines .append (self ._cur_line )
392392 return []
393+ elif 'up to date' in self ._cur_line :
394+ # Checking this way instead of startswith, because debugging for
395+ # startswith(' = [up to date]') is going to be a major pain if just
396+ # a single space or bracket changes.
397+
398+ # Strip the initial ' = [up to date]' from the line
399+ message_string = line .split ('date]' , 1 )[- 1 ]
400+
401+ # Trim whitespace
402+ message_string = ' ' .join (message_string .split ())
403+
404+ self .update (0 ,
405+ 1 ,
406+ 1 ,
407+ message_string )
393408
394409 sub_lines = line .split ('\r ' )
395410 failed_lines = []
You can’t perform that action at this time.
0 commit comments