Re: [PATCH 0/5] git-gui: Support for "Locators" - address templates
- From
Shawn O. Pearce <spearce@spearce.org>
- Date
- Sep 26, 2008, 14:33 UTC
- Message-ID
- <20080926143351.GY3669@spearce.org>
- In-Reply-To
- <alpine.LNX.1.00.0809251705260.19665@iabervon.org>
Daniel Barkalow <barkalow@iabervon.org> wrote:
Show 14 quoted lines
> On Thu, 25 Sep 2008, pasky@suse.cz wrote: > > > This patch allows "locators" to be configured and used in the GUI, > > basically as URL templates the input string is subsituted into. > > Can this be set up to use the "url.<base>.insteadOf" configuration? Part > of my goal with that feature was to make it easy for me to reference > projects on my work's central repository store. That is, put in your > ~/gitconfig: > > [url "git://repo.or.cz/"] > insteadOf = repo: > > And "git clone repo:alt-git" works.
That's a good idea.
When I saw the locator patch come by I thought a bit about the insteadOf idea, but didn't make it far enough to open an email discussion about it.
Pasky?
-- Shawn.