transport: reformat flag #defines to be more readable
authorBrandon Williams <bmwill@google.com>
Mon, 19 Dec 2016 18:25:31 +0000 (10:25 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 20 Dec 2016 20:26:34 +0000 (12:26 -0800)
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>
No differences found