-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Description
Describe the bug
According to the config documentation, the setting git.allBranchesLogCmd is deprecated in favor of git.allBranchesLogCmds. As far as I understand the following two configurations should be equal:
git:
allBranchesLogCmd: git log --graph --oneline
git:
allBranchesLogCmds:
- git log --graph --oneline
However, when using allBranchesLogCmds, the default log command seems to be included in the cycle, meaning that you can't limit it to your desired configurations.
To Reproduce
Steps to reproduce the behavior:
- Use the above
git.allBranchesLogCmdssetting with one single log command. - Go to the Status panel.
- Tap
ato display the log. - Tap
aagain, and notice that it now shows a differently formatted log.
Similarly if you have the gui.statusPanelView: allBranchesLog setting activated, you'll get a different log view every time you navigate to the Status panel.
Expected behavior
allBranchesLogCmds should not automatically include the default log command.
Version info:
commit=611fabde11d24d9acc71ee26077b9a1101f59f27, build date=2024-09-18T10:56:10Z, build source=binaryRelease, version=0.44.1, os=linux, arch=amd64, git version=2.43.0
git version 2.43.0