Skip to content

Commit 56f835e

Browse files
committed
Add debug help for hanging OSX
1 parent 353fb72 commit 56f835e

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

test/tools/git/blame-in-diff/rc

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff 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 %{
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
mkfifo fifo 2>/dev/null
2+
echo waiting for fifo
23
cat fifo
4+
echo fifo waiting done
35
# We should have jumped to the old version of line 2, assert on kak_selection.

0 commit comments

Comments
 (0)