Closed mheden closed 1 year ago
I reviewed the issue and Lua code; there are several bugs in the Cmder prompt filter code when git/svn/hg are missing, or when a git repo is corrupt.
I submitted PR #2847 which should fix the collection of issues, and also cleans luacheck warnings that have crept in over time (over 80 warnings).
Great, thank you for looking at this!
Version Information
Cmder Edition
Cmder Full (with Git)
Description of the issue
I had an old mercurial repo from a backup and when I entered that directory, the prompt function failed since I didn't have mercurial installed on my new machine.
How to reproduce
It looks likte it has to do with
clink
so maybe the issue should go there but when I run clink standalone I don't get any branch information so I don't know how to get the error there.Additional context
No response
Checklist