╭ changed ───────╮ │src/progress.zig│ ╰────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │30 const report_every = 1000; │ │31 │ │32 // the phases a client is told about, listed so a new kind has to be │ │33 - // decided on rather than inherit whatever label was last set │ │33 + // decided on rather than inherit whatever label was last set. unpacking is │ │34 + // left out because it runs while the client is still sending, so its line │ │35 + // fights with the client's own upload bar over the same row. │ │36 fn reported(kind: rp.ProgressKind) bool { │ │37 return switch (kind) { │ │36 - .writing_object_from_pack, .writing_object, .checking_object, .walking_commit, .enumerating_object, .compressing_object, .writing_patch => true,│ │37 - .sending_bytes, .receiving_bytes => false, │ │38 + .writing_object, .checking_object, .walking_commit, .enumerating_object, .compressing_object, .writing_patch => true, │ │39 + .writing_object_from_pack, .sending_bytes, .receiving_bytes => false, │ │40 }; │ │41 } │ │42 │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────╮ │47 // a pack phase carries no label of its own; the rest send a │ │48 // .text first │ │49 switch (start.kind) { │ │48 - .writing_object_from_pack => self.label = "Unpacking objects",│ │50 .writing_object => self.label = "Copying objects", │ │51 .checking_object => self.label = "Checking connectivity", │ │52 .walking_commit => self.label = "Walking commits", │ ╰──────────────────────────────────────────────────────────────────────────────────────╯