You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
git show main~5...main delta --pager="ov --section-delimiter '(^(added:|removed:|renamed:|Δ))|(^commit)'"
This works mostly, but I want the second group: (^commit) to span to include Author: and Date: lines in its section match. So far, none of these work...:
# this one works, but does not match the second line
git show main~5..main | delta --pager="ov --section-delimiter '(^(added:|removed:|renamed:|Δ))|(^commit.*)'"# the rest of these do not match at all
git show main~5..main | delta --pager="ov --section-delimiter '(^(added:|removed:|renamed:|Δ))|(^commit.*\r)'"
git show main~5..main | delta --pager="ov --section-delimiter '(^(added:|removed:|renamed:|Δ))|(^commit.*\n)'"
git show main~5..main | delta --pager="ov --section-delimiter '(^(added:|removed:|renamed:|Δ))|(^commit.*\\r)'"
git show main~5..main | delta --pager="ov --section-delimiter '(^(added:|removed:|renamed:|Δ))|(^commit.*\\n)'"
git show main~5..main | delta --pager="ov --section-delimiter '(^(added:|removed:|renamed:|Δ))|(^commit.*\\\r)'"
git show main~5..main | delta --pager="ov --section-delimiter '(^(added:|removed:|renamed:|Δ))|(^commit.*\\\n)'"
git show main~5..main | delta --pager="ov --section-delimiter '(^(added:|removed:|renamed:|Δ))|(^commit.*\\\\r)'"
git show main~5..main | delta --pager="ov --section-delimiter '(^(added:|removed:|renamed:|Δ))|(^commit.*\\\\n)'"
I don't want to use the number modifiers. Those modifiers apply it to all sections. I just want to match a multiline section-delimeter.
I do notice that the README says:
(Line breaks are not included in matching lines).
But I want this. Maybe the scrolling math for changing section-delimeter height does not work so well
The text was updated successfully, but these errors were encountered:
xav-ie
changed the title
Question: Can you match section-delimeter across lines?
Feature Request: Match section-delimeter across lines
Jan 16, 2025
git show main~5...main
has output like this:My current section delimeters are like this:
git show main~5...main delta --pager="ov --section-delimiter '(^(added:|removed:|renamed:|Δ))|(^commit)'"
This works mostly, but I want the second group:
(^commit)
to span to includeAuthor:
andDate:
lines in its section match. So far, none of these work...:I don't want to use the number modifiers. Those modifiers apply it to all sections. I just want to match a multiline section-delimeter.
I do notice that the README says:
But I want this. Maybe the scrolling math for changing section-delimeter height does not work so well
The text was updated successfully, but these errors were encountered: