]> git.e2factory.org Git - e2factory.git/commitdiff
fetch-sources: do checkout files after cloning a new source
authorTobias Ulmer <tu@emlix.com>
Fri, 18 Jan 2013 16:43:01 +0000 (17:43 +0100)
committerTobias Ulmer <tu@emlix.com>
Tue, 26 Feb 2013 18:07:13 +0000 (19:07 +0100)
Signed-off-by: Tobias Ulmer <tu@emlix.com>
generic/e2lib.lua
local/git.lua

index f2019ea8a210eb1488e3da4dc1d074525c5f3b38..14cbbf60ac90d2e921efda0bc7037f6e5f402d70 100644 (file)
@@ -93,7 +93,6 @@ e2lib.globals = {
     -- @class table
     -- @name cmdline
     cmdline = {},
-    git_skip_checkout = true,
     template_path = string.format("%s/templates", buildconfig.SYSCONFDIR),
     extension_config = ".e2/extensions",
     e2config = ".e2/e2config",
index 51a837c8a6a4dffd74a1d4eb45dd1bcb3f16f7a7..9c1144eac597f56a737f482f4ef1561616fbdc6d 100644 (file)
@@ -251,7 +251,7 @@ function git.fetch_source(info, sourcename)
     src.server, src.location, src.branch))
     local skip_checkout = e2lib.globals.git_skip_checkout
     rc, re = generic_git.git_clone_from_server(info.cache, src.server,
-    src.location, wrk, skip_checkout)
+        src.location, wrk, false)
     if not rc then
         return false, e:cat(re)
     end