diff options
author | Elijah Newren <newren@gmail.com> | 2020-05-14 19:53:22 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-05-15 07:59:27 -0700 |
commit | 6c34239de67e03390622dfad14d91ed3ce1048b5 (patch) | |
tree | 66a722c9620e416f367724415937062020e54310 /builtin/sparse-checkout.c | |
parent | sparse-checkout: provide a new reapply subcommand (diff) | |
download | tgif-6c34239de67e03390622dfad14d91ed3ce1048b5.tar.xz |
unpack-trees: also allow get_progress() to work on a different index
commit b0a5a12a60 ("unpack-trees: allow check_updates() to work on a
different index", 2020-03-27) allowed check_updates() to work on a
different index, but it called get_progress() which was hardcoded to
work on o->result much like check_updates() had been. Update it to also
accept an index parameter and have check_updates() pass that parameter
along so that both are working on the same index.
Noticed-by: Jeff Hostetler <jeffhost@microsoft.com>
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/sparse-checkout.c')
0 files changed, 0 insertions, 0 deletions