diff options
-rw-r--r-- | bitbake/lib/bb/fetch2/git.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py index 9ca24428a1..799fb6c0fe 100644 --- a/bitbake/lib/bb/fetch2/git.py +++ b/bitbake/lib/bb/fetch2/git.py | |||
@@ -123,7 +123,7 @@ class Git(FetchMethod): | |||
123 | ud.branches[name] = branch | 123 | ud.branches[name] = branch |
124 | ud.unresolvedrev[name] = branch | 124 | ud.unresolvedrev[name] = branch |
125 | 125 | ||
126 | ud.basecmd = data.getVar("FETCHCMD_git", d, True) or "git" | 126 | ud.basecmd = data.getVar("FETCHCMD_git", d, True) or "git -c core.fsyncobjectfiles=0" |
127 | 127 | ||
128 | ud.write_tarballs = ((data.getVar("BB_GENERATE_MIRROR_TARBALLS", d, True) or "0") != "0") or ud.rebaseable | 128 | ud.write_tarballs = ((data.getVar("BB_GENERATE_MIRROR_TARBALLS", d, True) or "0") != "0") or ud.rebaseable |
129 | 129 | ||
@@ -275,7 +275,7 @@ class Git(FetchMethod): | |||
275 | os.symlink(ud.clonedir, indirectiondir) | 275 | os.symlink(ud.clonedir, indirectiondir) |
276 | clonedir = indirectiondir | 276 | clonedir = indirectiondir |
277 | 277 | ||
278 | runfetchcmd("git clone %s %s/ %s" % (cloneflags, clonedir, destdir), d) | 278 | runfetchcmd("%s clone %s %s/ %s" % (ud.basecmd, cloneflags, clonedir, destdir), d) |
279 | if not ud.nocheckout: | 279 | if not ud.nocheckout: |
280 | os.chdir(destdir) | 280 | os.chdir(destdir) |
281 | if subdir != "": | 281 | if subdir != "": |