From: Nguyễn Thái Ngọc Duy Date: Wed, 23 Aug 2017 12:36:51 +0000 (+0700) Subject: revision.c: refactor add_index_objects_to_pending() X-Git-Tag: v2.15.0-rc0~92^2~13 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/6c3d818154eb74a4d5b35e786eefd297745bae1a?ds=inline;hp=6c3d818154eb74a4d5b35e786eefd297745bae1a revision.c: refactor add_index_objects_to_pending() The core code is factored out and take 'struct index_state *' instead so that we can reuse it to add objects from index files other than .git/index in the next patch. Signed-off-by: Nguyễn Thái Ngọc Duy Signed-off-by: Junio C Hamano ---