aboutsummaryrefslogtreecommitdiffstats
path: root/git-p4.py
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2021-02-27 00:30:41 +0000
committerJunio C Hamano <gitster@pobox.com>2021-02-26 17:53:11 -0800
commitae8cf74d3f9e76332138ee8bb911b3fa53f17bbf (patch)
tree58a013809c1d9058ec520708fe2371fde1a53bb3 /git-p4.py
parentdiffcore-rename: provide basic implementation of idx_possible_rename() (diff)
downloadgit-ae8cf74d3f9e76332138ee8bb911b3fa53f17bbf.tar.gz
git-ae8cf74d3f9e76332138ee8bb911b3fa53f17bbf.zip
diffcore-rename: add a mapping of destination names to their indices
Compute a mapping of full filename to the index within rename_dst where that filename is found, and store it in idx_map. idx_possible_rename() needs this to quickly finding an array entry in rename_dst given the pathname. While at it, add placeholder initializations for dir_rename_count and dir_rename_guess; these will be more fully populated in subsequent commits. 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 'git-p4.py')
0 files changed, 0 insertions, 0 deletions