wt-status.c: rename rename-related fields in wt_status_change_data
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Wed, 27 Dec 2017 10:18:38 +0000 (17:18 +0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 27 Dec 2017 20:38:35 +0000 (12:38 -0800)
These field "head_path" is used for rename display only. In the next
patch we introduce another rename pair where the rename source is no
longer HEAD. Rename it to something more generic.

While at there, rename "score" as well and store the rename diff code
in a separate field instead of hardcoding key[0] (i.e. diff-index) in
porcelain v2 code.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found