Skip to content

Commit 4e7e4b6

Browse files
felipecgitster
authored andcommitted
diff: trivial style fix
Signed-off-by: Felipe Contreras <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 9e57ac5 commit 4e7e4b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin/diff.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ static int builtin_diff_tree(struct rev_info *revs,
169169
if (ent1->item->flags & UNINTERESTING)
170170
swap = 1;
171171
sha1[swap] = ent0->item->sha1;
172-
sha1[1-swap] = ent1->item->sha1;
172+
sha1[1 - swap] = ent1->item->sha1;
173173
diff_tree_sha1(sha1[0], sha1[1], "", &revs->diffopt);
174174
log_tree_diff_flush(revs);
175175
return 0;

0 commit comments

Comments
 (0)