summaryrefslogtreecommitdiff
path: root/test/shell/prompt-shell-script-completion/script
diff options
context:
space:
mode:
authorJohannes Altmanninger <aclopte@gmail.com>2024-09-14 12:24:58 +0200
committerMaxime Coste <mawww@kakoune.org>2024-09-16 15:23:18 +1000
commit314e69fc37d6dabcc9f57cb491153225e4d6f931 (patch)
tree98d0872c3de19353638ac5e3d8c9cbc8631935fd /test/shell/prompt-shell-script-completion/script
parentfab8a7ef3cee5be6aeb074ecfc2cd47fdf4086f8 (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