From: Jakub Narebski Date: Mon, 14 Aug 2006 18:33:11 GMT Subject: Re: [PATCH] Multiple refs from the same remote in one git fetch Message-ID: In-Reply-To: <20060814175130.GB16821@mellanox.co.il> Michael S. Tsirkin wrote: >>> Well, what I was *trying* to do is simply add a more descriptive name >>> for the linus master branch to my existing tree. >>> >>> So it seemed like an obvious idea to add >>> >>> Pull: master:origin >>> Pull: master:linus_master >> >> Couldn't you do this via symlinks or symrefs? >> >> BTW. Do we support symrefs other than HEAD, and does reflog works with >> symref heads, and symlinked heads? > > How? Have only "Pull: master:linus_master" as the pull line, and make origin symlink (ln -s $GIT_DIR/refs/heads/linus_master $GIT_DIR/refs/heads/origin) or symref (echo "ref: refs/heads/linus_master" > $GIT_DIR/refs/heads/origin) or vice versa. -- Jakub Narebski Warsaw, Poland ShadeHawk on #git