[cairo] Confusion over git-fetch refs
behdad at cs.toronto.edu
Wed Mar 1 15:02:40 PST 2006
On Wed, 1 Mar 2006, Christian Biesinger wrote:
> Carl Worth wrote:
> > Here's one attempt. It does not attempt to identify anything unique,
> > but instead just renames everything, (using $user/ as a prefix). It
> > also ignores all refs ending in origin, (which is what is desired I
> > think).
> Here's an improved version.
> It doesn't create transitive user branches, i.e. it won't create
> cworth-behdad-configure-backends. This was somewhat harder with the
> user-branch syntax (compared to user/branch), because this means that I
> can't just check for a slash. So this script now has a username list,
> which is kinda unfortunate, but I don't see a way around that - branches
> contain dashes as well.
I used '--' instead of '/' to avoid such problems. Seems to
solve your problem too, if we all use the same script. Maybe the
script should be committed into cairo itself?
> Oh, and it also tells you what entries it creates.
While fixing it, it will help to make it not create any remote
for an invalid user name you may type on the command line.
"Commandment Three says Do Not Kill, Amendment Two says Blood Will Spill"
-- Dan Bern, "New American Language"
More information about the cairo