diff options
| author | Johannes Altmanninger <aclopte@gmail.com> | 2024-09-14 12:24:58 +0200 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2024-09-16 15:23:18 +1000 |
| commit | 314e69fc37d6dabcc9f57cb491153225e4d6f931 (patch) | |
| tree | 98d0872c3de19353638ac5e3d8c9cbc8631935fd /test/shell/prompt-shell-script-completion/script | |
| parent | fab8a7ef3cee5be6aeb074ecfc2cd47fdf4086f8 (diff) | |
rc git: rationalize blame fifo usage
We call git blame
a. asynchronously in ":git blame"
b. synchronously in ":git blame-jump"
In both cases we
1. create a fifo
2. buffer the file contents in shell memory
3. print to the fifo
4. run git blame and remove the fifo
For the synchronous case the buffering and custom fifo is not
necessary; use ${kak_response_fifo} instead.
For the asynchronous case we do need a buffer that outlives the
enclosing %sh{} block. Buffering in shell memory can be somewhat slow
for large files. Let's use a temporary file instead.
Diffstat (limited to 'test/shell/prompt-shell-script-completion/script')
0 files changed, 0 insertions, 0 deletions
