summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-08-13 18:14:40 +0200
committerJunio C Hamano <gitster@pobox.com>2018-08-13 14:14:44 -0700
commit1b5c6c1e5309e8be24ad4958baa2553a003ee45e (patch)
tree97807b2c13e05f5ea8acb5d23ca4485a8345eb2c /builtin/commit.c
parent82ea77eca7af238f1ee65f5cbc945a01e16ee97a (diff)
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 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions