In short: doing gtm record "c:\Users\" causes a panic.
I'm using gtm-vim and vim-dirvish. gtm-vim had a bug git-time-metric/gtm-vim-plugin#6 that made it try to run gtm record on directories. vim-dirvish lets you edit directories, so gtm-vim tried to record them.
I added output to gtm-vim to see why gtm kept saying it wasn't available:
patch:
if v:shell_error
echoerr s:no_gtm_err
+ echom output
else
I'm using gtm.exe from gtm.v1.3.5.windows.tar.gz, git-time-metric/gtm-vim-plugin@ebd33f7d01a7ac9b2695f71b1136d6b89a0d5d44, and gvim 8.2.1076.
This is the specific command that gtm-vim was trying to run:
:echo system('gtm record "C:\david\settings\daveconfig\multi\vim\bundle\git-time-metric\plugin\"')
C:\settings\daveconfig is a git repo and C:\david\settings\daveconfig\multi\vim\bundle\git-time-metric is a submodule.
I get a panic 100% of the time when I run that command or with any path with a trailing \.
" fine
:echo system('gtm record "C:\david"')
" fine
:! gtm record C:\david\
" panic
:echo system('gtm record "C:\david\"')
" panic
:! gtm record "C:\david\"
In short: doing
gtm record "c:\Users\"
causes a panic.I'm using gtm-vim and vim-dirvish. gtm-vim had a bug git-time-metric/gtm-vim-plugin#6 that made it try to run
gtm record
on directories. vim-dirvish lets you edit directories, so gtm-vim tried to record them.I added output to gtm-vim to see why gtm kept saying it wasn't available:
And here's the output I get
I'm using gtm.exe from gtm.v1.3.5.windows.tar.gz, git-time-metric/gtm-vim-plugin@ebd33f7d01a7ac9b2695f71b1136d6b89a0d5d44, and gvim 8.2.1076.
This is the specific command that gtm-vim was trying to run:
C:\settings\daveconfig
is a git repo andC:\david\settings\daveconfig\multi\vim\bundle\git-time-metric
is a submodule.I get a panic 100% of the time when I run that command or with any path with a trailing
\
.Or panic from a command prompt: