author | Junio C Hamano <gitster@pobox.com> | |
Mon, 21 Jul 2008 08:24:17 +0000 (01:24 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 26 Jul 2008 04:14:21 +0000 (21:14 -0700) | ||
commit | 041aee31be378b3b38e3a0913b29970a7f78873b | |
tree | 88a21edbf55413666e1835e7e0e57b327efe011b | tree | snapshot |
parent | b0320eaf6a25fbc4adf35d611c27006e6d853aa8 | commit | diff |
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 <gitster@pobox.com>
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>
builtin-add.c | diff | blob | history | |
cache.h | diff | blob | history | |
read-cache.c | diff | blob | history |