-
Notifications
You must be signed in to change notification settings - Fork 502
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
diff pager not respected when using delta as diff command #4205
Comments
Delta pager is configured in
Also paging may be not used because of
|
I don't see how this applies. As far as I understand, I don't want to configure delta (being the tool that generates the diffs per file). This part works fine, I believe. I obtain unpaged, nicely colored outputs for each individual file from |
The [diff]
command = "delta"
pager = "delta" part you mean? I tried that as well and observed the same behavior. My |
I'm not sure why it needs to be set as both In my case I have |
Created #4207 to reflect this in docs. |
Thanks! [diff]
pager = "delta --keep-plus-minus-markers" in |
Please read #4207 (comment). |
Describe the bug
By setting
diff.pager
toless
,chezmoi diff
gives me one pager including all diffs for all targets. When I do the same when usingdelta
asdiff.command
, no paging happens.To reproduce
Using the config
and executing
chezmoi diff
when there are multiple files containing changes (larger than one screen).Expected behavior
I would like to see one single pager containing all the accumulated outputs of the individual
delta
outputs.Output of
chezmoi doctor
Additional context
I also tried settings
diff.pager
todelta
as well. In fact, settingdiff.pager
torev
ormore
doesn't make any difference either.For completeness (even though I doesn't seem to make a difference in my trials), I have set
The text was updated successfully, but these errors were encountered: