From: Matthias Urlichs Date: Thu, 11 Aug 2005 16:29:37 GMT Subject: Re: [PATCH] Teach git push .git/branches shorthand Message-ID: In-Reply-To: <200508081822.24582.Josef.Weidendorfer@gmx.de> Hi, Josef Weidendorfer wrote: > My understanding of .git/branches was that Cogito uses this as mapping of > remote branches/heads to local branches/refs, and not to store shortcuts for > remote git repositories. That seems to be the case, yes. I'd argue that the shortcut idea is inherently more flexible, as it can emulate mappings, but not vice versa -- for instance, if my local branch foo corresponds to more than one remote branch, .git/branches/* cannot comprehend that idea. That being said, I do like Junio's >> $ cat .git/remotes/ko >> URL: kernel.org:/pub/scm/git/git.git/ >> Fetch-Reference: master:ko-master pu:ko-pu rc:ko-rc >> Push-Reference: master pu rc idea. A lot. -- Matthias Urlichs | {M:U} IT Design @ m-u-it.de | smurf@smurf.noris.de Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de - - Sometimes I think my head is like a gas tank -- you have to be really careful what you put into it 'cos it might affect the whole system. -- I'VE HEARD THE MERMAIDS SINGING