Re: [PATCH] Multiple refs from the same remote in one git fetch
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Aug 14, 2006, 18:33 UTC
- Message-ID
- <ebqfjq$ujd$1@sea.gmane.org>
- In-Reply-To
- <20060814175130.GB16821@mellanox.co.il>
Michael S. Tsirkin wrote:
Show 14 quoted lines
>>> 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