diff: trivial style fix
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
9e57ac55ce
commit
4e7e4b6b1b
@ -169,7 +169,7 @@ static int builtin_diff_tree(struct rev_info *revs,
|
||||
if (ent1->item->flags & UNINTERESTING)
|
||||
swap = 1;
|
||||
sha1[swap] = ent0->item->sha1;
|
||||
sha1[1-swap] = ent1->item->sha1;
|
||||
sha1[1 - swap] = ent1->item->sha1;
|
||||
diff_tree_sha1(sha1[0], sha1[1], "", &revs->diffopt);
|
||||
log_tree_diff_flush(revs);
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user