summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/lib/devtool/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/lib/devtool/__init__.py b/scripts/lib/devtool/__init__.py
index 89f098a912..8fc7fffcd6 100644
--- a/scripts/lib/devtool/__init__.py
+++ b/scripts/lib/devtool/__init__.py
@@ -205,6 +205,7 @@ def setup_git_repo(repodir, version, devbranch, basetag='devtool-base', d=None):
205 import oe.patch 205 import oe.patch
206 if not os.path.exists(os.path.join(repodir, '.git')): 206 if not os.path.exists(os.path.join(repodir, '.git')):
207 bb.process.run('git init', cwd=repodir) 207 bb.process.run('git init', cwd=repodir)
208 bb.process.run('git config --local gc.autodetach 0', cwd=repodir)
208 bb.process.run('git add .', cwd=repodir) 209 bb.process.run('git add .', cwd=repodir)
209 commit_cmd = ['git'] 210 commit_cmd = ['git']
210 oe.patch.GitApplyTree.gitCommandUserOptions(commit_cmd, d=d) 211 oe.patch.GitApplyTree.gitCommandUserOptions(commit_cmd, d=d)