Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix 2846 #2847

Merged
merged 4 commits into from
May 17, 2023
Merged

Fix 2846 #2847

merged 4 commits into from
May 17, 2023

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