This repository was archived by the owner on Nov 15, 2024. It is now read-only.
Commit 4e9a325
apply: use strsets to track symlinks
Symlink changes are tracked in a string_list, with the util pointer
value indicating whether a symlink is kept or removed. Using fake
pointer values requires awkward casts. Use one strset for each type of
change instead to simplify and shorten the code.
Original-patch-by: Jessica Clarke <[email protected]>
Signed-off-by: René Scharfe <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>1 parent e9d7761 commit 4e9a325
2 files changed
+19
-49
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
| 107 | + | |
107 | 108 | | |
108 | 109 | | |
109 | 110 | | |
| |||
117 | 118 | | |
118 | 119 | | |
119 | 120 | | |
120 | | - | |
| 121 | + | |
| 122 | + | |
121 | 123 | | |
122 | 124 | | |
123 | 125 | | |
| |||
3812 | 3814 | | |
3813 | 3815 | | |
3814 | 3816 | | |
3815 | | - | |
3816 | | - | |
3817 | | - | |
3818 | | - | |
3819 | | - | |
3820 | | - | |
3821 | | - | |
3822 | | - | |
3823 | | - | |
3824 | | - | |
3825 | | - | |
3826 | | - | |
3827 | | - | |
3828 | | - | |
3829 | | - | |
3830 | | - | |
3831 | | - | |
3832 | | - | |
3833 | | - | |
3834 | | - | |
3835 | | - | |
3836 | | - | |
3837 | | - | |
3838 | | - | |
3839 | | - | |
3840 | 3817 | | |
3841 | 3818 | | |
3842 | 3819 | | |
3843 | 3820 | | |
3844 | 3821 | | |
3845 | 3822 | | |
3846 | | - | |
| 3823 | + | |
3847 | 3824 | | |
3848 | 3825 | | |
3849 | 3826 | | |
3850 | | - | |
| 3827 | + | |
3851 | 3828 | | |
3852 | 3829 | | |
3853 | 3830 | | |
3854 | 3831 | | |
3855 | 3832 | | |
3856 | 3833 | | |
3857 | | - | |
3858 | | - | |
3859 | 3834 | | |
3860 | 3835 | | |
3861 | 3836 | | |
3862 | 3837 | | |
3863 | 3838 | | |
3864 | | - | |
3865 | | - | |
| 3839 | + | |
3866 | 3840 | | |
3867 | | - | |
| 3841 | + | |
3868 | 3842 | | |
3869 | 3843 | | |
3870 | 3844 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | 29 | | |
43 | 30 | | |
44 | 31 | | |
| |||
85 | 72 | | |
86 | 73 | | |
87 | 74 | | |
88 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
89 | 85 | | |
90 | 86 | | |
91 | 87 | | |
| |||
0 commit comments