summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2/git.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/fetch2/git.py')
-rw-r--r--bitbake/lib/bb/fetch2/git.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py
index 12dabe3706..a05402a311 100644
--- a/bitbake/lib/bb/fetch2/git.py
+++ b/bitbake/lib/bb/fetch2/git.py
@@ -53,9 +53,7 @@ class Git(FetchMethod):
53 else: 53 else:
54 ud.proto = "git" 54 ud.proto = "git"
55 55
56 ud.nocheckout = False 56 ud.nocheckout = ud.parm.get("nocheckout","0") == "1"
57 if 'nocheckout' in ud.parm:
58 ud.nocheckout = True
59 57
60 # rebaseable means the upstream git repo may rebase in the future, 58 # rebaseable means the upstream git repo may rebase in the future,
61 # and current revision may disappear from upstream repo 59 # and current revision may disappear from upstream repo