summaryrefslogtreecommitdiffstats
path: root/Documentation/git-show-branch.txt
diff options
context:
space:
mode:
authorRikita Ishikawa <lagrange.resolvent@gmail.com>2024-07-08 15:07:59 +0200
committerJunio C Hamano <gitster@pobox.com>2024-07-08 17:26:46 +0200
commit428c40da612454311469e9cf24a2105b944777a6 (patch)
tree9e6c619ce903c562c967576c8e0868d3505b29eb /Documentation/git-show-branch.txt
parentGit 2.40.3 (diff)
downloadgit-428c40da612454311469e9cf24a2105b944777a6.tar.xz
git-428c40da612454311469e9cf24a2105b944777a6.zip
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>
Diffstat (limited to 'Documentation/git-show-branch.txt')
-rw-r--r--Documentation/git-show-branch.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/git-show-branch.txt b/Documentation/git-show-branch.txt
index 71f608b1ff..01909cd036 100644
--- a/Documentation/git-show-branch.txt
+++ b/Documentation/git-show-branch.txt
@@ -22,7 +22,7 @@ Shows the commit ancestry graph starting from the commits named
with <rev>s or <glob>s (or all refs under refs/heads
and/or refs/tags) semi-visually.
-It cannot show more than 29 branches and commits at a time.
+It cannot show more than 26 branches and commits at a time.
It uses `showbranch.default` multi-valued configuration items if
no <rev> or <glob> is given on the command line.