Commit 150cd3b
commit-graph: fix "Writing out commit graph" progress counter
76ffbca (commit-graph: write Bloom filters to commit graph file,
2020-04-06) added two delayed progress lines to writing the Bloom
filter index and data chunk. This is wrong, because a single common
progress is used while writing all chunks, which is not updated while
writing these two new chunks, resulting in incomplete-looking "done"
lines:
Expanding reachable commits in commit graph: 888679, done.
Computing commit changed paths Bloom filters: 100% (888678/888678), done.
Writing out commit graph in 6 passes: 66% (3554712/5332068), done.
Use the common 'struct progress' instance while writing the Bloom
filter chunks as well.
Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent 6f9d5f2 commit 150cd3b
1 file changed
+2
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1086 | 1086 | | |
1087 | 1087 | | |
1088 | 1088 | | |
1089 | | - | |
1090 | | - | |
1091 | | - | |
1092 | | - | |
1093 | | - | |
1094 | | - | |
1095 | | - | |
1096 | 1089 | | |
1097 | 1090 | | |
1098 | 1091 | | |
1099 | 1092 | | |
1100 | | - | |
| 1093 | + | |
1101 | 1094 | | |
1102 | 1095 | | |
1103 | 1096 | | |
1104 | | - | |
1105 | | - | |
1106 | 1097 | | |
1107 | 1098 | | |
1108 | 1099 | | |
| |||
1111 | 1102 | | |
1112 | 1103 | | |
1113 | 1104 | | |
1114 | | - | |
1115 | | - | |
1116 | | - | |
1117 | | - | |
1118 | | - | |
1119 | | - | |
1120 | | - | |
1121 | 1105 | | |
1122 | 1106 | | |
1123 | 1107 | | |
1124 | 1108 | | |
1125 | 1109 | | |
1126 | 1110 | | |
1127 | 1111 | | |
1128 | | - | |
| 1112 | + | |
1129 | 1113 | | |
1130 | 1114 | | |
1131 | 1115 | | |
1132 | | - | |
1133 | | - | |
1134 | 1116 | | |
1135 | 1117 | | |
1136 | 1118 | | |
| |||
0 commit comments