Commit 05c4422
fetch: refactor fetch_refs into two functions
Refactor the fetch_refs function into a function that does the fetching
of refs and another function that stores them. This is in preparation
for allowing additional processing of the fetched refs before updating
the local ref store.
Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent 14b8ced commit 05c4422
1 file changed
+18
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
968 | 968 | | |
969 | 969 | | |
970 | 970 | | |
971 | | - | |
972 | | - | |
973 | | - | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
| 975 | + | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
974 | 986 | | |
975 | 987 | | |
976 | 988 | | |
| |||
1116 | 1128 | | |
1117 | 1129 | | |
1118 | 1130 | | |
1119 | | - | |
| 1131 | + | |
| 1132 | + | |
1120 | 1133 | | |
1121 | 1134 | | |
1122 | 1135 | | |
| |||
1165 | 1178 | | |
1166 | 1179 | | |
1167 | 1180 | | |
1168 | | - | |
| 1181 | + | |
1169 | 1182 | | |
1170 | 1183 | | |
1171 | 1184 | | |
| |||
0 commit comments