summaryrefslogtreecommitdiff
path: root/t/t1013/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff options
context:
space:
mode:
authorLibravatar Hiroyuki Sano <sh19910711@gmail.com>2014-03-20 08:02:04 +0900
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-03-20 11:20:48 -0700
commiteffd12ec876df016d4346fee0d3d6bf31308fa11 (patch)
tree5e09d92ad35c76c32359462a6767b717d5145746 /t/t1013/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391
parentGit 1.8.5.5 (diff)
downloadtgif-effd12ec876df016d4346fee0d3d6bf31308fa11.tar.xz
fsck: use bitwise-or assignment operator to set flag
fsck_tree() has two different ways to set a flag variable, either by using a if-statement that guards an assignment, or by using a bitwise-or assignment operator. Most are done with the former, and only one variable is assigned with the latter. Since all the conditions are short-and-sweet, we can afford to uniformly use the latter style, which makes the resulting code shorter and easier to read. Signed-off-by: Hiroyuki Sano <sh19910711@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1013/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391')
0 files changed, 0 insertions, 0 deletions