Commit b429034
apply: pass apply state to build_fake_ancestor()
To libify git apply functionality, we will need to read from a
different index file in get_current_sha1(). This index file will be
stored in "struct apply_state", so let's pass the state to
build_fake_ancestor() which will later pass it to get_current_sha1().
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent 7e1bad2 commit b429034
1 file changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4042 | 4042 | | |
4043 | 4043 | | |
4044 | 4044 | | |
4045 | | - | |
| 4045 | + | |
4046 | 4046 | | |
4047 | 4047 | | |
4048 | 4048 | | |
| |||
4089 | 4089 | | |
4090 | 4090 | | |
4091 | 4091 | | |
4092 | | - | |
| 4092 | + | |
4093 | 4093 | | |
4094 | 4094 | | |
4095 | 4095 | | |
4096 | 4096 | | |
4097 | | - | |
| 4097 | + | |
| 4098 | + | |
4098 | 4099 | | |
4099 | 4100 | | |
4100 | 4101 | | |
| |||
4709 | 4710 | | |
4710 | 4711 | | |
4711 | 4712 | | |
4712 | | - | |
| 4713 | + | |
4713 | 4714 | | |
4714 | 4715 | | |
4715 | 4716 | | |
| |||
0 commit comments