LibGit2: only import module extension needed, not entire scope
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user