Commit 4ebef53
load_subtree(): combine some common code
Write the length into `object_oid` (before copying) rather than
`l->key_oid` (after copying). Then combine some code from the two `if`
blocks.
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent 67c9b42 commit 4ebef53
1 file changed
Lines changed: 5 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
447 | 447 | | |
448 | 448 | | |
449 | 449 | | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | 450 | | |
455 | 451 | | |
456 | 452 | | |
| |||
463 | 459 | | |
464 | 460 | | |
465 | 461 | | |
| 462 | + | |
| 463 | + | |
466 | 464 | | |
467 | | - | |
468 | | - | |
469 | | - | |
470 | | - | |
471 | | - | |
472 | 465 | | |
473 | 466 | | |
474 | 467 | | |
475 | 468 | | |
476 | 469 | | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
477 | 473 | | |
478 | 474 | | |
479 | 475 | | |
| |||
0 commit comments