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:
Brandon Philips 2013-08-05 16:48:05 -07:00
parent 035cb38bce
commit 1d9e3cca26

View File

@ -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}"