diff options
author | Elijah Newren <newren@gmail.com> | 2023-05-16 09:33:47 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-06-21 23:39:53 +0300 |
commit | 6cee5ebc7af2a05dce64d04ac2ed6aa7ed872f88 (patch) | |
tree | 7c7b76809e7bd0148cda9f44285c70d115482349 /refs | |
parent | 50c37ee839f0c6842816dec0764d0592b5d048b2 (diff) |
read-cache: move shared add/checkout/commit code
The function add_files_to_cache(), plus associated helper functions,
were defined in builtin/add.c, but also shared with builtin/checkout.c
and builtin/commit.c. Move these shared functions to read-cache.c.
Diff best viewed with `--color-moved`.
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs')
0 files changed, 0 insertions, 0 deletions