Re: Enhancements to git-protocoll
- From
Sitaram Chamarty <sitaramc@gmail.com>
- Date
- Jul 29, 2012, 10:37 UTC
- Message-ID
- <CAMK1S_i7WjrZ=L_LVoTQriW8kKMPd+ABrgowpFCY3ks43E6K7A@mail.gmail.com>
- In-Reply-To
- <20120728214116.GA3591@paksenarrion.iveqy.com>
On Sun, Jul 29, 2012 at 3:11 AM, Fredrik Gustafsson <iveqy@iveqy.com> wrote:
Show 17 quoted lines
> Hi, > sometimes git communicates with something that's not git on the other > side (gitolite and github for example). > > Sometimes the server wants to communicate directly to the git user. > > git isn't really designed for this. gitolite solves this by do user > interaction on STDERR instead. The bad thing about this is that it can > only be one-direction communication, for example error messages. > > If git would allow for the user to interact direct with the server, a > lot of cool and and userfriendly features could be developed. > > For example: > gitolite has something called wild repos[1]. The management is > cumbersome and if you misspell when you clone a repo you might instead > create a new repo.
For the record, although it cannot do the yes/no part, if you want to disable auto-creation on a fetch/clone (read operation) it's trivial to add a "PRE_CREATE" trigger to do that.