Commit 7431842
use fspathhash() everywhere
cf2dc1c (speed up alt_odb_usable() with many alternates, 2021-07-07)
introduced the function fspathhash() for calculating path hashes while
respecting the configuration option core.ignorecase. Call it instead of
open-coding it; the resulting code is shorter and less repetitive.
Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent 940fe20 commit 7431842
3 files changed
+8
-26
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
380 | 380 | | |
381 | 381 | | |
382 | 382 | | |
383 | | - | |
384 | | - | |
385 | | - | |
386 | | - | |
| 383 | + | |
387 | 384 | | |
388 | 385 | | |
389 | 386 | | |
| |||
399 | 396 | | |
400 | 397 | | |
401 | 398 | | |
402 | | - | |
403 | | - | |
404 | | - | |
405 | | - | |
| 399 | + | |
406 | 400 | | |
407 | 401 | | |
408 | 402 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
782 | 782 | | |
783 | 783 | | |
784 | 784 | | |
785 | | - | |
786 | | - | |
787 | | - | |
| 785 | + | |
788 | 786 | | |
789 | 787 | | |
790 | 788 | | |
| |||
813 | 811 | | |
814 | 812 | | |
815 | 813 | | |
816 | | - | |
817 | | - | |
818 | | - | |
| 814 | + | |
819 | 815 | | |
820 | 816 | | |
821 | 817 | | |
| |||
845 | 841 | | |
846 | 842 | | |
847 | 843 | | |
848 | | - | |
849 | | - | |
850 | | - | |
851 | | - | |
| 844 | + | |
852 | 845 | | |
853 | 846 | | |
854 | 847 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | 64 | | |
70 | 65 | | |
71 | 66 | | |
| |||
463 | 458 | | |
464 | 459 | | |
465 | 460 | | |
466 | | - | |
| 461 | + | |
467 | 462 | | |
468 | 463 | | |
469 | 464 | | |
| |||
737 | 732 | | |
738 | 733 | | |
739 | 734 | | |
740 | | - | |
| 735 | + | |
741 | 736 | | |
742 | 737 | | |
743 | 738 | | |
744 | 739 | | |
745 | 740 | | |
746 | 741 | | |
747 | | - | |
| 742 | + | |
748 | 743 | | |
749 | 744 | | |
750 | 745 | | |
| |||
0 commit comments