diff options
author | Elijah Newren <newren@gmail.com> | 2021-02-27 00:30:40 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-02-26 17:53:11 -0800 |
commit | bde8b9f34c57f0ad567890de181ff94741ef2cbd (patch) | |
tree | b88b54b06f3cfddf36fb19b43ee8a791156d8c2e /reset.h | |
parent | diffcore-rename: use directory rename guided basename comparisons (diff) | |
download | tgif-bde8b9f34c57f0ad567890de181ff94741ef2cbd.tar.xz |
diffcore-rename: provide basic implementation of idx_possible_rename()
Add a new struct dir_rename_info with various values we need inside our
idx_possible_rename() function introduced in the previous commit. Add a
basic implementation for this function showing how we plan to use the
variables, but which will just return early with a value of -1 (not
found) when those variables are not set up.
Future commits will do the work necessary to set up those other
variables so that idx_possible_rename() does not always return -1.
Reviewed-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'reset.h')
0 files changed, 0 insertions, 0 deletions