summaryrefslogtreecommitdiff
path: root/src/diff.c
diff options
context:
space:
mode:
authorPhilip Kelley <phkelley@hotmail.com>2012-09-17 16:10:42 -0400
committerPhilip Kelley <phkelley@hotmail.com>2012-09-17 16:10:42 -0400
commitf08c60a51815d262979a9a95d69565e54adbdd80 (patch)
tree1a363b5cd10ac1021bb8769089dac2239e959b23 /src/diff.c
parentec40b7f99f7f7161b0a1b24f1d8a934ec0eaacb1 (diff)
downloadlibgit2-f08c60a51815d262979a9a95d69565e54adbdd80.tar.gz
Minor fixes for ignorecase support
Diffstat (limited to 'src/diff.c')
-rw-r--r--src/diff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/diff.c b/src/diff.c
index 1bda305ad..0e048443d 100644
--- a/src/diff.c
+++ b/src/diff.c
@@ -714,7 +714,7 @@ static int diff_from_iterators(
* (or ADDED and DELETED pair if type changed)
*/
else {
- assert(oitem && nitem && entry_compare(oitem->path, nitem->path) == 0);
+ assert(oitem && nitem && entry_compare(oitem, nitem) == 0);
if (maybe_modified(old_iter, oitem, new_iter, nitem, diff) < 0 ||
git_iterator_advance(old_iter, &oitem) < 0 ||