Closed
Description
Describe the bug
I'm trying to pass multiple args to the merge command, but I always receive an error.
To Reproduce
- Sets the following in
config.yml
git:
merging:
args: "--ff-only --autostash"
- try to merge a branch
Expected behavior
The merge happens with the provided args
Version info:
commit=5e388e21c8ca6aa883dbcbe45c47f6fdd5116815, build date=2023-08-07T14:05:48Z, build source=binaryRelease, version=0.40.2, os=darwin, arch=amd64, git version=2.43.0
git version 2.43.0
Additional context
In the lazygit command log panel I see git merge --no-edit "--ff-only --autostash" <branch_name>
while with a single args in config the double quote are not there.