diff options
author | Kristian Høgsberg <krh@redhat.com> | 2007-09-18 04:06:44 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-09-27 12:19:42 +0400 |
commit | 586801650824f0f7b62c34a206b6a60ffbcd8be0 (patch) | |
tree | f9d474878042914e343bdcee2b78012c6e9e9fbd /builtin-rerere.c | |
parent | a17ba31b0b75365e1245e494d46abae4afc57480 (diff) |
Introduce entry point add_interactive and add_files_to_cache
This refactors builtin-add.c a little to provide a unique entry point
for launching git add --interactive, which will be used by
builtin-commit too. If we later want to make add --interactive a
builtin or change how it is launched, we just start from this function.
It also exports the private function update() which is used to
add all modified paths to the index as add_files_to_cache().
Signed-off-by: Kristian Høgsberg <krh@redhat.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-rerere.c')
0 files changed, 0 insertions, 0 deletions