From: Sitaram Chamarty Date: Tue, 22 Sep 2009 10:20:09 GMT Subject: thoughts on a possible "pre-upload" hook Message-ID: <2e24e5b90909220320rbd5fd1l40c7898656445232@mail.gmail.com> Hello, As git is used more and more in corporate-type environments, at some point it becomes convenient to have *branches* (or more accurately, refs) that are not readable. The simplest way to do this (from git's point of view) is to allow a "pre-upload" hook, rather like the "pre-receive" hook or "update" hook. I don't know the upload pack protocol enough to know whether this is a stupid idea or not; please tell me if so :-) But things that were seemingly "impossible" in the early days are being talked about now and even being implemented so I felt brave enough to ask. I'm afraid my C programming days are long gone, but if anything can be done in shell or perl, with a little git.guidance, I'll do whatever I can. -- Sitaram