aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/checkout.c
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-05-16 06:33:45 +0000
committerJunio C Hamano <gitster@pobox.com>2023-06-21 13:39:53 -0700
commit1a40e7be6cb7dda07d23d8beb84622e63d1aa42c (patch)
tree1ce6c8acbf773c3684ac577732a46406827865ea /builtin/checkout.c
parentsetup: adopt shared init-db & clone code (diff)
downloadgit-1a40e7be6cb7dda07d23d8beb84622e63d1aa42c.tar.gz
git-1a40e7be6cb7dda07d23d8beb84622e63d1aa42c.zip
read-cache: move shared commit and ls-files code
The function overlay_tree_on_index(), plus associated helper functions, were defined in builtin/ls-files.c, but also shared with 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 'builtin/checkout.c')
0 files changed, 0 insertions, 0 deletions