]> git.ipfire.org Git - thirdparty/git.git/commit
doc: fix the max number of branches shown by "show-branch"
authorRikita Ishikawa <lagrange.resolvent@gmail.com>
Mon, 8 Jul 2024 13:07:59 +0000 (13:07 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 8 Jul 2024 15:26:46 +0000 (08:26 -0700)
commit428c40da612454311469e9cf24a2105b944777a6
tree9e6c619ce903c562c967576c8e0868d3505b29eb
parentdbecc617f75eea6ee5d05823a38b91223ff22b11
doc: fix the max number of branches shown by "show-branch"

The number to be displayed is calculated by the following defined in
object.h:

    #define REV_SHIFT        2
    #define MAX_REVS        (FLAG_BITS - REV_SHIFT)

FLAG_BITS is currently 28, so 26 is the correct number.

Signed-off-by: Rikita Ishikawa <lagrange.resolvent@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-show-branch.txt