File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
test/tools/git/blame-in-diff Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -8,23 +8,32 @@ define-command run %{
88 git add
99 git commit --message 'initial commit'
1010 execute-keys %{2gIchanged <esc>}
11+ echo -end-of-line -to-file /dev/stderr "writing"
1112 write
1213 git commit --all --message 'changed line 2'
14+ echo -end-of-line -to-file /dev/stderr "commit done"
1315 # Show the commit, jumping to the new version of line 2.
1416 git blame-jump
17+ echo -end-of-line -to-file /dev/stderr "blame done"
1518 hook -once buffer BufCloseFifo .* %{
19+ echo -end-of-line -to-file /dev/stderr "buf close fifo"
1620 evaluate-commands -client client0 %{
1721 # We've jumped to the new version of line 2. Move to the old
1822 # version so we can annotate the old version of the file.
1923 execute-keys k
24+ echo -end-of-line -to-file /dev/stderr "pre 2nd blame"
2025 git blame
26+ echo -end-of-line -to-file /dev/stderr "post 2nd blame"
2127 hook -once buffer BufCloseFifo .* %{
22- execute-keys -client client0 x
2328 # Wait for a redraw before reporting completion.
2429 hook -once buffer NormalIdle .* %{
30+ echo -end-of-line -to-file /dev/stderr "NormalIdle hook"
2531 echo -to-file fifo
2632 }
33+ execute-keys -client client0 x
34+ echo -end-of-line -to-file /dev/stderr "NormalIdle install"
2735 }
36+ echo -end-of-line -to-file /dev/stderr "hook installed"
2837 }
2938 }
3039 } catch %{
Original file line number Diff line number Diff line change 11mkfifo fifo 2>/dev/null
2+ echo waiting for fifo
23cat fifo
4+ echo fifo waiting done
35# We should have jumped to the old version of line 2, assert on kak_selection.
You can’t perform that action at this time.
0 commit comments