Message ID | pull.1757.v2.git.1720259599119.gitgitgadget@gmail.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | [v2] doc: fix the max number of git show-branches shown | expand |
On Sat, Jul 06, 2024 at 09:53:18AM +0000, wonda-tea-coffee via GitGitGadget wrote: > From: wonda-tea-coffee <lagrange.resolvent@gmail.com> > > 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> Thanks, this version looks good to me. As Junio noted, we'd generally want the "From" to match the Sign-off (where the former is coming from the author name in the commit). You can either re-send, or if you give the OK, he might just fix it up as he applies. -Peff
diff --git a/Documentation/git-show-branch.txt b/Documentation/git-show-branch.txt index c771c897707..bc31d8b6d33 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.