From 240f4af321612a0fe4cf01aed75a8cb44173feb8 Mon Sep 17 00:00:00 2001 From: Russell Belfer Date: Mon, 28 Apr 2014 14:04:29 -0700 Subject: Add build option for diff internal statistics --- src/checkout.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/checkout.c') diff --git a/src/checkout.c b/src/checkout.c index bc976b854..93d6bc9c5 100644 --- a/src/checkout.c +++ b/src/checkout.c @@ -185,8 +185,7 @@ static bool checkout_is_workdir_modified( return true; if (git_diff__oid_for_file( - data->repo, wditem->path, wditem->mode, - wditem->file_size, &oid) < 0) + &oid, data->diff, wditem->path, wditem->mode, wditem->file_size) < 0) return false; return (git_oid__cmp(&baseitem->id, &oid) != 0); -- cgit v1.2.1