On Fri, Sep 28, 2007 at 00:07:27 -0700, Junio C Hamano wrote:I would like this for another reason and maybe in slightly different way. Basically I would have configured something along the lines: [remote "origin"] push =3D refs/heads/*:refs/heads/jahu/* and would want to choose, via option, whether I want to push all the branch= es or just the current one, but in any case with the renaming specified. The idea behind this is to have a shared repository, but not shared branche= s. Everybody would have a subdirectory in refs/heads where he could push anything that the others should see and than somebody else (either designat= ed integrator, or just anybody different) would do a quick review and merge it into master. Now I could of course push out everything, but usually I'd want to push exactly the current branch, renaming it by the rule given, whether it alrea= dy existed in origin or not. Than there can be eg. a post-receive hook notifyi= ng the integrator that there is something for review. We can have an option and/or we can have some new parameter in .git/config. Maybe: push =3D refs/heads/*:refs/heads/jahu/* would mean to push always (ie. everything under refs/heads) and eg.: push =3D !refs/heads/*:refs/heads/jahu/* would mean to push just current branch if it matches. Mixed setups would be possible: push =3D refs/heads/*:refs/heads/jahu/* !master:master !next:next would mean push everything to jahu/ and if current is master, push it to master, or if current is next, push it to next. --=20 Jan 'Bulb' Hudec <bulb@ucw.cz>
| Ingo Molnar | Re: [PATCH 6/6] sched: disabled rt-bandwidth by default |
| Maciej W. Rozycki | [PATCH 2/2] acpi: Disable IRQ 0 through I/O APIC for some HP systems |
| Greg Kroah-Hartman | [PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO |
| Ryan Hope | reiser4 for 2.6.27-rc1 |
git: | |
| Johannes Schindelin | Re: [PATCH] use natural ordering to display list of branches. |
| David Kastrup | Terminology question about remote branches. |
| David Kastrup | Re: If you would write git from scratch now, what would you change? |
| Johannes Schindelin | [PATCH 1/2] clone: Add an option to set up a mirror |
| Martin Toft | Mysterious transfer speed differences |
| Joachim Schipper | Re: OpenBSD/alpha Status |
| Richard Daemon | OpenBSD 4.3 running in VirtualBox? Anyone have it working properly? |
| Diana Eichert | Re: In Memoriam: Jun-ichiro Hagino |
| binto | Before & After Under The Giant Lock |
| Florent Thoumie | Re: New wpi driver |
| Peter Jeremy | Re: repeatedly opening the same .so(s) is slow? |
| Dirk Engling | Re: Strange keyboard (viral?) behaviour |
