Re: [PATCH] Add USER environment variable to executed git commands when serving
- From
Sitaram Chamarty <sitaramc@gmail.com>
- Date
- Jun 3, 2009, 01:04 UTC
- Message-ID
- <2e24e5b90906021804tf3db263qc41a6f8b171111e1@mail.gmail.com>
- In-Reply-To
- <20090602135659.GA4320@macbook.lan>
On Tue, Jun 2, 2009 at 7:26 PM, Heiko Voigt <hvoigt@hvoigt.net> wrote:
> This is useful if you want to implement access rights by branchname.
I see this as more fundamental than any specific purpose. Right now, gitosis completely loses information on "who did this push", and this fills that basic need.
And thanks for a patch that's even simpler than what I was *thinking* of doing :-)
I will test it out today at work and report back but it should work; I don't see why it wouldn't, unless somewhere else there's a sanitisation of env vars going on for security.
Regards,
Sitaram