diff options
| author | Jacob Keller <jacob.keller@gmail.com> | 2016-04-15 16:01:45 -0700 |
|---|---|---|
| committer | Michael Haggerty <mhagger@alum.mit.edu> | 2016-09-29 17:49:03 +0200 |
| commit | 506bf09d51df9fd76b967dc963de626d033f3393 (patch) | |
| tree | 362c63bf0b8d0c1d78e8685453cc0158a3f767d6 /src/annotated_commit.c | |
| parent | 89c332e41b12a72d89de40d63bc568c56a2c336a (diff) | |
| download | libgit2-506bf09d51df9fd76b967dc963de626d033f3393.tar.gz | |
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.
Original Git commit: 92e5b62fec0e9b647429e8d3736c571c434dd375
Diffstat (limited to 'src/annotated_commit.c')
0 files changed, 0 insertions, 0 deletions
