Skip to content

Conversation

@chrisant996
Copy link
Contributor

Fix #2846; errors when git/svn/hg not installed.

Also fixes:

  • Error when HEAD is not available in a git repo, e.g. in a corrupt repo.
  • Global Lua namespace pollution (global vars that should be local).
  • Remove unused function.
  • Clean luacheck warnings.

Also fixes error when HEAD is not available in a git repo, e.g. due to a
corrupt repo.
Some variables were global when the intent was to be local variables.
The `get_hg_status()` function has been unused since commit
35eab7a in 2018.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] prompt filter failed on mercurial repos if mercurial is not installed

2 participants