Commit 8552943
prune_remote(): iterate using for_each_string_list_item()
Iterate over refs_to_prune using for_each_string_list_item() rather
than writing out the loop in longhand.
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent fcce0da commit 8552943
1 file changed
Lines changed: 6 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1309 | 1309 | | |
1310 | 1310 | | |
1311 | 1311 | | |
1312 | | - | |
| 1312 | + | |
1313 | 1313 | | |
1314 | 1314 | | |
| 1315 | + | |
1315 | 1316 | | |
1316 | 1317 | | |
1317 | 1318 | | |
| |||
1330 | 1331 | | |
1331 | 1332 | | |
1332 | 1333 | | |
1333 | | - | |
1334 | | - | |
1335 | | - | |
1336 | | - | |
1337 | | - | |
| 1334 | + | |
| 1335 | + | |
1338 | 1336 | | |
1339 | 1337 | | |
1340 | 1338 | | |
| |||
1344 | 1342 | | |
1345 | 1343 | | |
1346 | 1344 | | |
1347 | | - | |
1348 | | - | |
| 1345 | + | |
| 1346 | + | |
1349 | 1347 | | |
1350 | 1348 | | |
1351 | 1349 | | |
| |||
0 commit comments