kakoune/rc
Johannes Altmanninger 8a7641284c rc git: hide blame and report error if git blame fails
Similar to the previous patch, when git blame fails it usually means
that the blamed file is not tracked by Git. I don't know of other
common failure scenarios.

Since git blame runs in detached process, failure handling is a bit
more involved.  Let's forward stderr to the debug buffer and escalate
the error. I'm not sure how to get the exit code from git blame in
"git blame | perl" - we can't use $PIPESTATUS.
As a workaround, interpret empty output as failure.

In case of failure, also hide blame; this makes the UI more consistent
I think.
2024-02-26 19:08:58 +11:00
..
detection rc detection modeline: optimize modeline pre-filtering 2023-06-02 22:38:32 +02:00
filetype Merge remote-tracking branch 'arachsys/balance' 2024-02-10 21:59:38 +11:00
tools rc git: hide blame and report error if git blame fails 2024-02-26 19:08:58 +11:00
windowing pass pane-id to wezterm cli 2024-02-15 18:22:10 +08:00