From: Junio C Hamano Date: Mon, 21 Jul 2008 08:24:17 +0000 (-0700) Subject: builtin-add.c: restructure the code for maintainability X-Git-Tag: v1.6.1-rc1~297^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/041aee31be378b3b38e3a0913b29970a7f78873b?hp=041aee31be378b3b38e3a0913b29970a7f78873b builtin-add.c: restructure the code for maintainability A private function add_files_to_cache() in builtin-add.c was borrowed by checkout and commit re-implementors without getting properly refactored to more library-ish place. This does the refactoring. Signed-off-by: Junio C Hamano ---