LibGit2: only import module extension needed, not entire scope

This commit is contained in:
2018-11-27 01:17:14 -07:00
parent db23999e63
commit 5cee4ae3dc

View File

@@ -27,7 +27,7 @@
##
##############################################################################
import LibGit2
using LibGit2: init
DEBUG = false # enable for verbose messages
@@ -87,7 +87,7 @@ end
# Establish a Git repository in project root
function git_init(projectPath)
LibGit2.init("$projectPath", false)
init("$projectPath", false)
if check_dir("$projectPath/.git") != true