diff options
author | Hiroyuki Sano <sh19910711@gmail.com> | 2014-03-20 08:02:04 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-03-20 11:20:48 -0700 |
commit | effd12ec876df016d4346fee0d3d6bf31308fa11 (patch) | |
tree | 5e09d92ad35c76c32359462a6767b717d5145746 /t/t6001-rev-list-graft.sh | |
parent | Git 1.8.5.5 (diff) | |
download | tgif-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/t6001-rev-list-graft.sh')
0 files changed, 0 insertions, 0 deletions