Re: [PATCH 0/5] git-gui: Support for "Locators" - address templates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 25 Sep 2008, pasky@xxxxxxx wrote:

> This patch allows "locators" to be configured and used in the GUI,
> basically as URL templates the input string is subsituted into.
> The default operation of git-gui is not much affected (only some
> labels change to be less confusing).
> 
> This is aimed mainly at corporate Git deployments - the integrator
> might want to configure the central corporate repository store as
> the default locator so that people do not need to type the same
> URL over and over but can instead just type the repository name
> on the server. Or avid repo.or.cz users might set up a 'repo'
> locator pointing at 'git://repo.or.cz/%s'.

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.

It'd be nice to share the config somehow so that the same settings can be 
used both in git-gui and on the command line. (I wrote the code so that a 
user can swap patterns of URLs work for other people but aren't good for 
that particular user, but it also applies to user-provided shorthand 
URLs.)

	-Daniel
*This .sig left intentionally blank*
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux