From 1d9e3cca26e16cf5402e7ccc059e86a25a3120bd Mon Sep 17 00:00:00 2001 From: Brandon Philips Date: Mon, 5 Aug 2013 16:48:05 -0700 Subject: [PATCH] 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 --- .../src/third_party/coreos-overlay/eclass/cros-workon.eclass | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sdk_container/src/third_party/coreos-overlay/eclass/cros-workon.eclass b/sdk_container/src/third_party/coreos-overlay/eclass/cros-workon.eclass index b197bdbc6b..72b4c140bb 100644 --- a/sdk_container/src/third_party/coreos-overlay/eclass/cros-workon.eclass +++ b/sdk_container/src/third_party/coreos-overlay/eclass/cros-workon.eclass @@ -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 + EGIT_BRANCH=" " for (( i = 0; i < project_count; ++i )); do EGIT_REPO_URI="${repo[i]}/${project[i]}.git" EGIT_PROJECT="${project[i]}${CROS_WORKON_GIT_SUFFIX}"