]> git.ipfire.org Git - thirdparty/git.git/commit
gpg-interface: use left shift to define GPG_VERIFY_*
authorChristian Couder <christian.couder@gmail.com>
Thu, 30 Oct 2025 12:33:29 +0000 (13:33 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 30 Oct 2025 14:06:58 +0000 (07:06 -0700)
commit2d7cc86b3b099dfae26ea61ee88d7ca0d24f9f08
tree703cc1fb71de6dadd008a86dfc01af6301f6aeb8
parentee74c5b167372c4053ab4b3e0b798a1cd51d7e85
gpg-interface: use left shift to define GPG_VERIFY_*

In "gpg-interface.h", the definitions of the GPG_VERIFY_* boolean flags
are currently using 1, 2 and 4 while we often prefer the bitwise left
shift operator, `<<`, for that purpose to make it clearer that they are
boolean.

Let's use the left shift operator here too. Let's also fix an indent
issue with "4" while at it.

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gpg-interface.h