summaryrefslogtreecommitdiff
path: root/builtin/merge-index.c
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <johannes.schindelin@gmx.de>2018-05-04 01:01:15 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-05-06 13:21:57 +0900
commitba97aea1659e249a3a58ecc5f583ee2056a90ad8 (patch)
treea80826ae4f3bb204caef2bbff08a0f29e471e628 /builtin/merge-index.c
parentrebase -i --rebase-merges: add a section to the man page (diff)
downloadtgif-ba97aea1659e249a3a58ecc5f583ee2056a90ad8.tar.xz
sequencer: extract helper to update active_cache_tree
This patch extracts the code from is_index_unchanged() to initialize or update the index' cache tree (i.e. a tree object reflecting the current index' top-level tree). The new helper will be used in the upcoming code to support `git rebase -i --root` via the sequencer. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/merge-index.c')
0 files changed, 0 insertions, 0 deletions