Commit e8dd0e4
gitweb.js: No need for loop in blame_incremental's handleResponse()
JavaScript is single-threaded, so there is no need for protecting
against changes to XMLHttpRequest object behind event handler back.
Therefore there is no need for loop that was here in case `xhr' got
new changes while processing current changes. This should make code a
bit more clear.
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent 4510165 commit e8dd0e4
1 file changed
+4
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
603 | 603 | | |
604 | 604 | | |
605 | 605 | | |
606 | | - | |
607 | | - | |
608 | | - | |
609 | | - | |
610 | | - | |
611 | | - | |
612 | 606 | | |
| 607 | + | |
| 608 | + | |
613 | 609 | | |
614 | 610 | | |
615 | 611 | | |
616 | | - | |
| 612 | + | |
617 | 613 | | |
618 | 614 | | |
619 | | - | |
620 | | - | |
| 615 | + | |
621 | 616 | | |
622 | 617 | | |
623 | 618 | | |
| |||
0 commit comments