]> git.ipfire.org Git - thirdparty/git.git/commit - refs/refs-internal.h
refs-internal.h: move DO_FOR_EACH_* flags next to each other
authorJeff King <peff@peff.net>
Fri, 24 Sep 2021 18:37:58 +0000 (14:37 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 27 Sep 2021 19:36:45 +0000 (12:36 -0700)
commitbf708add2eaf37d53fa8a908b5d8772806c54d1b
tree73b04d20186c21fdc34fb3b9a8660f82db8f383b
parent5b062e1f79b5121296678d91b2bbd032ca86a866
refs-internal.h: move DO_FOR_EACH_* flags next to each other

There are currently two DO_FOR_EACH_* flags, which must not have their
bits overlap. Yet they're defined hundreds of lines apart. Let's move
them next to each other to make it clear that they are related and are a
complete set (which matters if you are adding a new flag and would like
to know what the next available bit is).

Signed-off-by: Jeff King <peff@peff.net>
Reviewed-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs/refs-internal.h