Commit a9a9d42
committed
merge-ort: pass repository to write_tree()
In order to get rid of a usage of the_repository, we need to know the
value of opt->repo; pass it along to write_tree(). Once we have the
repository, though, we no longer need to pass
opt->repo->hash_algo->rawsz, we can have write_tree() look up that value
itself.
Signed-off-by: Elijah Newren <newren@gmail.com>1 parent e75334a commit a9a9d42
1 file changed
Lines changed: 8 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3822 | 3822 | | |
3823 | 3823 | | |
3824 | 3824 | | |
3825 | | - | |
| 3825 | + | |
| 3826 | + | |
3826 | 3827 | | |
3827 | | - | |
3828 | | - | |
| 3828 | + | |
3829 | 3829 | | |
3830 | 3830 | | |
3831 | 3831 | | |
3832 | 3832 | | |
3833 | 3833 | | |
| 3834 | + | |
3834 | 3835 | | |
3835 | 3836 | | |
3836 | 3837 | | |
| |||
3856 | 3857 | | |
3857 | 3858 | | |
3858 | 3859 | | |
3859 | | - | |
| 3860 | + | |
3860 | 3861 | | |
3861 | 3862 | | |
3862 | 3863 | | |
| |||
4026 | 4027 | | |
4027 | 4028 | | |
4028 | 4029 | | |
4029 | | - | |
4030 | | - | |
| 4030 | + | |
| 4031 | + | |
4031 | 4032 | | |
4032 | 4033 | | |
4033 | 4034 | | |
| |||
4573 | 4574 | | |
4574 | 4575 | | |
4575 | 4576 | | |
4576 | | - | |
4577 | | - | |
| 4577 | + | |
4578 | 4578 | | |
4579 | 4579 | | |
4580 | 4580 | | |
| |||
0 commit comments