summaryrefslogtreecommitdiff
path: root/contrib/examples
diff options
context:
space:
mode:
authorLibravatar Brandon Williams <bmwill@google.com>2016-12-19 10:25:31 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-12-20 12:26:34 -0800
commit14c01bdbe8db0a9c9ee228b5b9b5b816c0a38fbd (patch)
tree9316c5302a7377ffdde5fd06b61fed5522f6afe4 /contrib/examples
parentSecond batch for 2.12 (diff)
downloadtgif-14c01bdbe8db0a9c9ee228b5b9b5b816c0a38fbd.tar.xz
transport: reformat flag #defines to be more readable
All of the #defines for the TRANSPORT_* flags are hardcoded to be powers of two. This can be error prone when adding a new flag and is difficult to read. Update these defines to instead use a shift operation to generate the flags and reformat them. Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/examples')
0 files changed, 0 insertions, 0 deletions