summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/base.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 9cf3863ff..d72267588 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -748,7 +748,9 @@ def generate_git_config(e):
ignore_host = data.getVar('GIT_PROXY_IGNORE_%s' % ignore_count, e.data, True)
f.write(proxy_command)
f.close
- if
+ if not os.path.exists(os.path.expanduser("~/.gitconfig")):
+ import shutil
+ shutil.copyfile(gitconfig_path, os.path.expanduser("~/.gitconfig"))
METADATA_REVISION ?= "${@base_get_metadata_monotone_revision(d)}"