Re: Fetching SHA id's instead of named references?
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Apr 6, 2009, 12:33 UTC
- Message-ID
- <alpine.DEB.1.00.0904061431020.6619@intel-tinevez-2-302>
- In-Reply-To
- <33f4f4d70904060513k320fb6a0ya928c714dcd11e89@mail.gmail.com>
Hi,
On Mon, 6 Apr 2009, Klas Lindberg wrote:
> Is there a way to fetch based on SHA id's instead of named references?
No, out of security concerns; imagine you included some proprietary source code by mistake, and undo the damage by forcing a push with a branch that does not have the incriminating code. Usually you do not control the garbage-collection on the server, yet you still do not want other people to fetch "by SHA-1".
BTW this is really a strong reason not to use HTTP push in such environments.
Ciao, Dscho