Sublime Text 3 的 Gitgutter - Git 无法获取版本
Sublime Text 3's Gitgutter - Git Version could not be acquired
我在 Sublime Text 3 上安装了 Gitgutter 的包,但它似乎不起作用,我调试了支持信息并得到了这个:
- Sublime Text 3143
- 平台:windows
- 拱门:x32
- Git装订线 1.7.8
- 通过 PC 安装:正确
- git版本无法获取!
- mdpopups 未安装!
- markdown 未安装!
- 无法获取pygments版本!
- jinja2 未安装!
I also tried re-installing it, and still does not compare the scripts with the current HEAD's
我看到 Gitgutter 的实现非常自动,我不知道它是否与使用 Sourcetree 的 Git 客户端有关。我想我应该参考 Git 的路径,我在哪里可以找到它?
如果有更多我可能遗漏的必需信息,请告诉我。谢谢。
错误消息来自 modules/support.py
def git_version():
"""Read version of git binary."""
try:
return git('--version')
except Exception as exception:
print('%s: %s' % (PACKAGE, exception))
return 'git version could not be acquired!'
安装过程描述in issue 452
如issue 455所述:
With git for windows installed and registered to the PATH and works from console, GitGutter should find it out of the box on Windows.
因此请尝试使用 从 CMD 启动您的 SBT 以查看问题是否仍然存在。
我在 Sublime Text 3 上安装了 Gitgutter 的包,但它似乎不起作用,我调试了支持信息并得到了这个:
- Sublime Text 3143
- 平台:windows
- 拱门:x32
- Git装订线 1.7.8
- 通过 PC 安装:正确
- git版本无法获取!
- mdpopups 未安装!
- markdown 未安装!
- 无法获取pygments版本!
- jinja2 未安装!
I also tried re-installing it, and still does not compare the scripts with the current HEAD's
我看到 Gitgutter 的实现非常自动,我不知道它是否与使用 Sourcetree 的 Git 客户端有关。我想我应该参考 Git 的路径,我在哪里可以找到它?
如果有更多我可能遗漏的必需信息,请告诉我。谢谢。
错误消息来自 modules/support.py
def git_version():
"""Read version of git binary."""
try:
return git('--version')
except Exception as exception:
print('%s: %s' % (PACKAGE, exception))
return 'git version could not be acquired!'
安装过程描述in issue 452
如issue 455所述:
With git for windows installed and registered to the PATH and works from console, GitGutter should find it out of the box on Windows.
因此请尝试使用