diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2018-08-13 18:14:40 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-08-13 14:14:44 -0700 |
commit | 1b5c6c1e5309e8be24ad4958baa2553a003ee45e (patch) | |
tree | 97807b2c13e05f5ea8acb5d23ca4485a8345eb2c /ref-filter.h | |
parent | apply.c: make init_apply_state() take a struct repository (diff) | |
download | tgif-1b5c6c1e5309e8be24ad4958baa2553a003ee45e.tar.xz |
apply.c: remove implicit dependency on the_index
Use apply_state->repo->index instead of the_index (in most cases,
unless we need to use a temporary index in some functions). Let the
callers (am and apply) tell us what to use, instead of always assuming
to operate on the_index.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ref-filter.h')
0 files changed, 0 insertions, 0 deletions