Re: [PATCH v2 2/9] index_has_changes(): avoid assuming operating on the_index

2018-07-03 Thread Junio C Hamano
Elijah Newren writes: > Modify index_has_changes() to take a struct istate* instead of just > operating on the_index. This is only a partial conversion, though, > because we call do_diff_cache() which implicitly assumes work is to be > done on the_index. Ongoing work is being done elsewhere to

[PATCH v2 2/9] index_has_changes(): avoid assuming operating on the_index

2018-06-30 Thread Elijah Newren
Modify index_has_changes() to take a struct istate* instead of just operating on the_index. This is only a partial conversion, though, because we call do_diff_cache() which implicitly assumes work is to be done on the_index. Ongoing work is being done elsewhere to do the remainder of the conversi