summaryrefslogtreecommitdiff
path: root/t/t4132-apply-removal.sh
diff options
context:
space:
mode:
authorLibravatar Jacob Keller <jacob.keller@gmail.com>2016-04-15 16:01:45 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-04-18 11:47:08 -0700
commit92e5b62fec0e9b647429e8d3736c571c434dd375 (patch)
tree9d111b6c0aaf8cf56d677ed7a3666c10b70d719f /t/t4132-apply-removal.sh
parentGit 2.4.11 (diff)
downloadtgif-92e5b62fec0e9b647429e8d3736c571c434dd375.tar.xz
xdiff: add recs_match helper function
It is a common pattern in xdl_change_compact to check that hashes and strings match. The resulting code to perform this change causes very long lines and makes it hard to follow the intention. Introduce a helper function recs_match which performs both checks to increase code readability. Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4132-apply-removal.sh')
0 files changed, 0 insertions, 0 deletions