mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-08 10:04:42 +00:00
acrn-config: skip git environment check when not do git commit
Check git environment only when '--enable_commit' option was set. Tracked-On: #3854 Signed-off-by: Wei Liu <weix.w.liu@intel.com> Acked-by: Victor Sun <victor.sun@intel.com>
This commit is contained in:
@@ -34,9 +34,9 @@ ERR_LIST = {}
|
||||
HEADER_LICENSE = common.open_license() + "\n"
|
||||
|
||||
|
||||
def prepare():
|
||||
def prepare(check_git):
|
||||
""" check environment """
|
||||
return common.check_env()
|
||||
return common.check_env(check_git)
|
||||
|
||||
|
||||
def print_yel(msg, warn=False):
|
||||
|
||||
Reference in New Issue
Block a user