diff options
Diffstat (limited to 'diff-lib.c')
| -rw-r--r-- | diff-lib.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/diff-lib.c b/diff-lib.c index 241a8435eb..bc49c708c1 100644 --- a/diff-lib.c +++ b/diff-lib.c @@ -493,7 +493,7 @@ int run_diff_index(struct rev_info *revs, int cached)  	struct object_array_entry *ent;  	ent = revs->pending.objects; -	if (diff_cache(revs, ent->item->sha1, ent->name, cached)) +	if (diff_cache(revs, ent->item->oid.hash, ent->name, cached))  		exit(128);  	diff_set_mnemonic_prefix(&revs->diffopt, "c/", cached ? "i/" : "w/"); | 
