diff options
author | Thomas Gummerer <t.gummerer@gmail.com> | 2018-12-20 13:48:18 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-01-02 15:28:05 -0800 |
commit | b7033e73b7b671670160726f62ac16d88161e3d0 (patch) | |
tree | 86e83331a96ed44f7255860de0a54ac8eed8a7ae /chdir-notify.h | |
parent | checkout: clarify comment (diff) | |
download | tgif-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 'chdir-notify.h')
0 files changed, 0 insertions, 0 deletions