From: Brandon Williams Date: Mon, 19 Dec 2016 18:25:31 +0000 (-0800) Subject: transport: reformat flag #defines to be more readable X-Git-Tag: v2.12.0-rc0~42^2~2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/14c01bdbe8db0a9c9ee228b5b9b5b816c0a38fbd?hp=14c01bdbe8db0a9c9ee228b5b9b5b816c0a38fbd 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 Signed-off-by: Junio C Hamano ---