summaryrefslogtreecommitdiff
path: root/LGPL-2.1
diff options
context:
space:
mode:
authorLibravatar Elijah Newren <newren@gmail.com>2021-02-27 00:30:40 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-02-26 17:53:11 -0800
commitbde8b9f34c57f0ad567890de181ff94741ef2cbd (patch)
treeb88b54b06f3cfddf36fb19b43ee8a791156d8c2e /LGPL-2.1
parentdiffcore-rename: use directory rename guided basename comparisons (diff)
downloadtgif-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 'LGPL-2.1')
0 files changed, 0 insertions, 0 deletions