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

Re: [Xen-devel] [PATCH] git urls: prefix with GIT_PROTO_PREFIX

On Tue, 2014-09-23 at 18:56 +0100, Ian Jackson wrote:
> This allows the prefixing of all git clone and fetch URLs with
> a single fixed string.  This could be used to:
>  - clone from a local tree /path/to/something/git:/whatever/thing
>  - use a cacheing git proxy such as found in chiark-utils

Is this intended as a for-personal-use version of the munging osstest

I've no problem with the patch but two idle thoughts:

Should the default be "git://" (and that prefix dropped from the values)
to reduce the odd naming requirements for local trees?

Could this be done globally for a user via .gitconfig and pullInsteadOf?
Perhaps with:
[url "git://"]
        pullInsteadOf = "/path/to/something/git:/"
or (more usefully perhaps) the equivalent proxy rune?


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.