jesseduffield.lazygit/docs-master
Jacob Bayer ed519488ea Make the refs shown by the commits view's whole-graph toggle configurable
The whole-graph toggle hardcoded `--all`, which means every ref in the
repo. That is more than most people want: agent harnesses write large
numbers of refs under refs/agents, and stashes are refs too, so both
flood the commits view and bury the commits the user actually cares
about. There was no way to narrow the set short of turning the toggle
off entirely.

Add `git.log.allRefsArgs`, the args spliced into `git log` in place of
`--all`. It defaults to `["--all"]`, so existing behaviour is unchanged,
and can be set to something narrower such as `["--branches",
"--remotes"]`, or to `--all` plus `--exclude` globs.

Args rather than a whole command, as `git.allBranchesLogCmds` takes:
that pane dumps raw output into the main view, whereas the commits view
parses `git log` output field by field, so the pretty format and the
other flags have to stay under lazygit's control.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-08 04:58:17 -04:00
..
dev Make copies of the docs and schema folders 2025-11-12 08:44:56 +01:00
keybindings Update translations from Crowdin 2026-09-05 16:46:18 +02:00
Config.md Make the refs shown by the commits view's whole-graph toggle configurable 2026-09-08 04:58:17 -04:00
Custom_Command_Keybindings.md Convert keybinding fields to Keybinding 2026-05-25 15:32:47 +02:00
Custom_DiffRenderers.md Fix example for args field in rawGit diff renderer docs 2026-08-14 07:42:25 +02:00
Fixup_Commits.md Make copies of the docs and schema folders 2025-11-12 08:44:56 +01:00
Range_Select.md Make copies of the docs and schema folders 2025-11-12 08:44:56 +01:00
README.md Adapt documentation 2026-07-31 08:42:51 +02:00
Searching.md Add a hint about filtering menus to the docs 2026-08-31 20:59:15 +02:00
Stacked_Branches.md Make copies of the docs and schema folders 2025-11-12 08:44:56 +01:00
Undoing.md Fix undo shortcut in Undoing.md 2026-05-26 09:45:41 +02:00