NEXT:
+ * Fix e2 fetch-sources --update for git repos
* Add experimental gitrepo source type
e2factory-2.3.16rc1
return true
end
- rc, re, remote = generic_git.git_config(
- gitdir, "branch."..src:get_branch().."remote")
- if not rc or string.len(remote) == 0 then
+ remote, re = generic_git.git_config(
+ gitdir, "branch."..src:get_branch()..".remote")
+ if not remote or string.len(remote) == 0 then
e2lib.warnf("WOTHER", "no remote configured for branch %q. Skipping.",
src:get_branch())
return true
return true
end
- rc, re, remote = generic_git.git_config(
- gitdir, "branch."..src:get_branch().."remote")
- if not rc or string.len(remote) == 0 then
+ remote, re = generic_git.git_config(
+ gitdir, "branch."..src:get_branch()..".remote")
+ if not remote or string.len(remote) == 0 then
e2lib.warnf("WOTHER", "no remote configured for branch %q. Skipping.",
src:get_branch())
return true