mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-15 08:56:58 +02:00
fix(eclass/cros-workon): revert EGIT_BRANCH hack
this hack didn't seem to work and with the removal of sync-c in the manifest make it all a moot point anyways
This commit is contained in:
parent
035cb38bce
commit
1d9e3cca26
@ -413,9 +413,7 @@ cros-workon_src_unpack() {
|
||||
# Hack around this by using empty branch. This will cause git fetch to
|
||||
# pull all branches instead. Note that the branch has to be a space,
|
||||
# rather than empty, for this trick to work.
|
||||
if [[ -z ${EGIT_BRANCH} ]] ; then
|
||||
EGIT_BRANCH=" "
|
||||
fi
|
||||
for (( i = 0; i < project_count; ++i )); do
|
||||
EGIT_REPO_URI="${repo[i]}/${project[i]}.git"
|
||||
EGIT_PROJECT="${project[i]}${CROS_WORKON_GIT_SUFFIX}"
|
||||
|
Loading…
Reference in New Issue
Block a user