Commit 4d4fcc5
relax usage of the progress API
Since it is now OK to pass a null pointer to display_progress() and
stop_progress() resulting in a no-op, then we can simplify the code
and remove a bunch of lines by not making those calls conditional all
the time.
Signed-off-by: Nicolas Pitre <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>1 parent dc6a075 commit 4d4fcc5
File tree
5 files changed
+20
-38
lines changed5 files changed
+20
-38
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
629 | 629 | | |
630 | 630 | | |
631 | 631 | | |
632 | | - | |
633 | | - | |
| 632 | + | |
634 | 633 | | |
635 | 634 | | |
636 | 635 | | |
| |||
684 | 683 | | |
685 | 684 | | |
686 | 685 | | |
687 | | - | |
688 | | - | |
| 686 | + | |
689 | 687 | | |
690 | 688 | | |
691 | 689 | | |
| |||
853 | 851 | | |
854 | 852 | | |
855 | 853 | | |
856 | | - | |
857 | | - | |
| 854 | + | |
858 | 855 | | |
859 | 856 | | |
860 | 857 | | |
| |||
1517 | 1514 | | |
1518 | 1515 | | |
1519 | 1516 | | |
1520 | | - | |
1521 | | - | |
| 1517 | + | |
1522 | 1518 | | |
1523 | 1519 | | |
1524 | 1520 | | |
| |||
1722 | 1718 | | |
1723 | 1719 | | |
1724 | 1720 | | |
1725 | | - | |
1726 | | - | |
| 1721 | + | |
1727 | 1722 | | |
1728 | 1723 | | |
1729 | 1724 | | |
| |||
2142 | 2137 | | |
2143 | 2138 | | |
2144 | 2139 | | |
2145 | | - | |
2146 | | - | |
| 2140 | + | |
2147 | 2141 | | |
2148 | 2142 | | |
2149 | 2143 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
| 18 | + | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
| |||
64 | 63 | | |
65 | 64 | | |
66 | 65 | | |
67 | | - | |
68 | | - | |
| 66 | + | |
69 | 67 | | |
70 | 68 | | |
71 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
326 | 326 | | |
327 | 327 | | |
328 | 328 | | |
329 | | - | |
330 | | - | |
| 329 | + | |
331 | 330 | | |
332 | | - | |
333 | | - | |
| 331 | + | |
334 | 332 | | |
335 | 333 | | |
336 | 334 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
418 | 418 | | |
419 | 419 | | |
420 | 420 | | |
421 | | - | |
422 | | - | |
| 421 | + | |
423 | 422 | | |
424 | 423 | | |
425 | | - | |
426 | | - | |
| 424 | + | |
427 | 425 | | |
428 | 426 | | |
429 | 427 | | |
| |||
486 | 484 | | |
487 | 485 | | |
488 | 486 | | |
489 | | - | |
490 | | - | |
| 487 | + | |
491 | 488 | | |
492 | 489 | | |
493 | 490 | | |
| |||
594 | 591 | | |
595 | 592 | | |
596 | 593 | | |
597 | | - | |
598 | | - | |
| 594 | + | |
599 | 595 | | |
600 | 596 | | |
601 | 597 | | |
| |||
774 | 770 | | |
775 | 771 | | |
776 | 772 | | |
777 | | - | |
778 | | - | |
| 773 | + | |
779 | 774 | | |
780 | 775 | | |
781 | 776 | | |
| |||
788 | 783 | | |
789 | 784 | | |
790 | 785 | | |
791 | | - | |
792 | | - | |
| 786 | + | |
| 787 | + | |
793 | 788 | | |
794 | 789 | | |
795 | | - | |
796 | 790 | | |
797 | 791 | | |
798 | 792 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
316 | 316 | | |
317 | 317 | | |
318 | 318 | | |
319 | | - | |
320 | | - | |
321 | | - | |
| 319 | + | |
| 320 | + | |
322 | 321 | | |
323 | 322 | | |
324 | 323 | | |
| |||
332 | 331 | | |
333 | 332 | | |
334 | 333 | | |
335 | | - | |
336 | | - | |
| 334 | + | |
337 | 335 | | |
338 | 336 | | |
339 | 337 | | |
| |||
0 commit comments