builtin-add.c: restructure the code for maintainability
authorJunio C Hamano <gitster@pobox.com>
Mon, 21 Jul 2008 08:24:17 +0000 (01:24 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 26 Jul 2008 04:14:21 +0000 (21:14 -0700)
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 <gitster@pobox.com>
No differences found