Skip to Content.
Sympa Menu

sm-commit - Re: [SM-Commit] GIT changes to devel-googleearth z-rejected grimoire by Pol Vinogradov (b14ec695c42b804093b28052598e04c26b25aaf3)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Arwed von Merkatz <v.merkatz AT gmx.net>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: Re: [SM-Commit] GIT changes to devel-googleearth z-rejected grimoire by Pol Vinogradov (b14ec695c42b804093b28052598e04c26b25aaf3)
  • Date: Sat, 24 Jun 2006 09:34:41 +0200

On Fri, Jun 23, 2006 at 03:12:36PM -0500, Jeremy Blosser wrote:
> On Jun 23, Pol Vinogradov [scm AT mail.sourcemage.org] wrote:
> > GIT changes to devel-googleearth z-rejected grimoire by Pol Vinogradov
> > <vin.public AT gmail.com>:
> >
> > New branch 'devel-googleearth' available with the following commits:
>
> Note that currently 'git-fetch'/etc. won't get new branches automatically,
> if you want this in your clone you need to do:
>
> git-fetch ssh://scm.sourcemage.org/smgl/grimoire/z-rejected.git
> devel-googleearth:devel-googleearth

Attached is a very dumb quick-hack to fetch all added remote branches
and setup Pull lines for them. The better solution (and what I plan on
looking into) is to add an option to git-fetch to do that automatically.

> We're still working out how exactly we want to do central WIP branches and
> how to make it easy to let people stay current on them. git assumes the
> central branches are more long-lived and the topic branches are only local,
> but it'll be easy enough to make it cooperate with whatever we do.

--
Arwed v. Merkatz Source Mage GNU/Linux developer
http://www.sourcemage.org
#!/bin/sh

heads=$(git-ls-remote --heads origin | cut -f2)

local_heads=$(ls .git/refs/heads)

for refname in $heads; do
name=${refname/refs\/heads\/}
if [[ $name = master ]]; then continue; fi
if ! echo $local_heads | grep -q $name; then
git fetch origin $refname:$refname
echo "Pull: $refname:$refname" >> .git/remotes/origin
fi
done



Archive powered by MHonArc 2.6.24.

Top of Page