Messages in this thread | | | Subject | Re: [git pull] vfs.git regression fix | From | Tomi Valkeinen <> | Date | Mon, 18 Jan 2016 09:49:11 +0200 |
| |
On 16/01/16 15:44, Al Viro wrote:
> FWIW, the main inconvenience with git request-pull is that it still needs > s/gitolite@ra.kernel.org:/git:\/\/git.kernel.org/ postprocessing. It mimics > the git push, but the remote you are pushing to probably won't be usable for > pulling by others. Looks like it would be useful to have something like > pull_url = git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git > to go with > url = gitolite@ra.kernel.org:/pub/scm/linux/kernel/git/viro/vfs.git > in .git/config, settable by something in git remote. OTOH, it's possible to > emulate by setting an extra remote and using git push vfs <...> for pushes, > while doing git request-pull origin vfs-pull <...> for pull requests...
Isn't "pushurl" for that? I have:
[remote "origin"] url = git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux.git pushurl = gitolite.kernel.org:/pub/scm/linux/kernel/git/tomba/linux.git fetch = +refs/heads/*:refs/remotes/origin/*
Tomi
[unhandled content-type:application/pgp-signature]
| |