summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorJacob Keller <jacob.keller@gmail.com>2016-04-15 23:01:45 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-04-18 18:47:08 (GMT)
commit92e5b62fec0e9b647429e8d3736c571c434dd375 (patch)
tree9d111b6c0aaf8cf56d677ed7a3666c10b70d719f /README
parent765428699a5381f113d19974720bc91b5bfeaf1d (diff)
downloadgit-92e5b62fec0e9b647429e8d3736c571c434dd375.zip
git-92e5b62fec0e9b647429e8d3736c571c434dd375.tar.gz
git-92e5b62fec0e9b647429e8d3736c571c434dd375.tar.bz2
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 'README')
0 files changed, 0 insertions, 0 deletions