mirror of
https://github.com/frappe/bench.git
synced 2025-01-25 07:58:24 +00:00
[fix] check shallow clone param in common site config too
This commit is contained in:
parent
2b6715594e
commit
44d6e783e6
@ -308,7 +308,12 @@ def get_git_version():
|
|||||||
|
|
||||||
def check_git_for_shallow_clone():
|
def check_git_for_shallow_clone():
|
||||||
from .config.common_site_config import get_config
|
from .config.common_site_config import get_config
|
||||||
if get_config(".").get('release_bench'):
|
config = get_config('.')
|
||||||
|
|
||||||
|
if config.get('release_bench'):
|
||||||
|
return False
|
||||||
|
|
||||||
|
if not config.get('shallow_clone'):
|
||||||
return False
|
return False
|
||||||
|
|
||||||
git_version = get_git_version()
|
git_version = get_git_version()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user