From: Nguyễn Thái Ngọc Duy Date: Fri, 21 Sep 2018 15:57:19 +0000 (+0200) Subject: diff.c: reduce implicit dependency on the_index X-Git-Tag: v2.20.0-rc0~164^2~20 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/b78ea5fc3574a2ce262cfb37a7ea890caddd0cf5?ds=inline;hp=b78ea5fc3574a2ce262cfb37a7ea890caddd0cf5 diff.c: reduce implicit dependency on the_index diff and textconv code has so widespread use that it's hard to simply update their api and all call sites at once because it would result in a big patch. For now reduce the_index references to two places: diff_setup() and fill_textconv(). Signed-off-by: Nguyễn Thái Ngọc Duy Signed-off-by: Junio C Hamano ---