diff: trivial style fix
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Felipe Contreras committed
Oct 31, 2013 at 03:25 UTC
4e7e4b6b1bd3412a30ac577d06907ab47ede9483
1 file changed
+1
-1
builtin/diff.c
+1
-1
@@ -169,7 +169,7 @@ static int builtin_diff_tree(struct rev_info *revs,
169
if (ent1->item->flags & UNINTERESTING)
170
swap = 1;
171
sha1[swap] = ent0->item->sha1;
172
- sha1[1-swap] = ent1->item->sha1;
172
+ sha1[1 - swap] = ent1->item->sha1;
173
diff_tree_sha1(sha1[0], sha1[1], "", &revs->diffopt);
174
log_tree_diff_flush(revs);
175
return 0;