summaryrefslogtreecommitdiff
path: root/commit-reach.h
diff options
context:
space:
mode:
authorLibravatar Thomas Gummerer <t.gummerer@gmail.com>2018-12-20 13:48:18 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-01-02 15:28:05 -0800
commitb7033e73b7b671670160726f62ac16d88161e3d0 (patch)
tree86e83331a96ed44f7255860de0a54ac8eed8a7ae /commit-reach.h
parentcheckout: clarify comment (diff)
downloadtgif-b7033e73b7b671670160726f62ac16d88161e3d0.tar.xz
checkout: factor out mark_cache_entry_for_checkout function
Factor out the code that marks a cache entry as matched for checkout into a separate function. We are going to introduce a new mode in 'git checkout' in a subsequent commit, that is going to have a slightly different logic. This would make this code unnecessarily complex. Moving that complexity into separate functions will make the code in the subsequent step easier to follow. Signed-off-by: Thomas Gummerer <t.gummerer@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-reach.h')
0 files changed, 0 insertions, 0 deletions