Commit 84178db
struct ref_update: add a type field
It used to be that ref_transaction_commit() allocated a temporary
array to hold the types of references while it is working. Instead,
add a type field to ref_update that ref_transaction_commit() can use
as its scratch space.
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent 81c960e commit 84178db
1 file changed
Lines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3279 | 3279 | | |
3280 | 3280 | | |
3281 | 3281 | | |
| 3282 | + | |
3282 | 3283 | | |
3283 | 3284 | | |
3284 | 3285 | | |
| |||
3413 | 3414 | | |
3414 | 3415 | | |
3415 | 3416 | | |
3416 | | - | |
3417 | 3417 | | |
3418 | 3418 | | |
3419 | 3419 | | |
| |||
3422 | 3422 | | |
3423 | 3423 | | |
3424 | 3424 | | |
3425 | | - | |
3426 | 3425 | | |
3427 | 3426 | | |
3428 | 3427 | | |
| |||
3440 | 3439 | | |
3441 | 3440 | | |
3442 | 3441 | | |
3443 | | - | |
| 3442 | + | |
3444 | 3443 | | |
3445 | 3444 | | |
3446 | 3445 | | |
| |||
3468 | 3467 | | |
3469 | 3468 | | |
3470 | 3469 | | |
3471 | | - | |
| 3470 | + | |
3472 | 3471 | | |
3473 | 3472 | | |
3474 | 3473 | | |
| |||
3482 | 3481 | | |
3483 | 3482 | | |
3484 | 3483 | | |
3485 | | - | |
3486 | 3484 | | |
3487 | 3485 | | |
3488 | 3486 | | |
| |||
0 commit comments