This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
* Marc Kleine-Budde <mkl@pengutronix.de> wrote: > depends what $PWD you need later, you can use these instead of "cd" > export GIT_WORK_TREE="${package_srcdir}" > export GIT_DIR=${GIT_WORK_TREE}/.git" Right, that's better :) I'm also doing it that way in my Briegel Buildsystem [1]. > > git init ${package_srcdir} && \ > > echo "${master_repository}/objects" > ${package_srcdir}/objects/info/alternates && \ > > git fetch "${master_repository}" +${package_ref}:_tmp && \ > > git checkout _tmp > > git has FETCH_HEAD for this: > > git fetch "${master_repository}" "${package_ref}" > git checkout FETCH_HEAD hmm, FETCH_HEAD always points to the lastest fetched head ? cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ phone: +49 36207 519931 email: weigelt@metux.de mobile: +49 151 27565287 icq: 210169427 skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |