diff options
author | Jacob Keller <jacob.keller@gmail.com> | 2016-04-15 16:01:45 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-04-18 11:47:08 -0700 |
commit | 92e5b62fec0e9b647429e8d3736c571c434dd375 (patch) | |
tree | 9d111b6c0aaf8cf56d677ed7a3666c10b70d719f /t/t4135/diff-with spaces.diff | |
parent | Git 2.4.11 (diff) | |
download | tgif-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/t4135/diff-with spaces.diff')
0 files changed, 0 insertions, 0 deletions