Re: Memory overrun in http-push.c
- From
Junio C Hamano <junkio@cox.net>
- Date
- Mar 4, 2007, 08:31 UTC
- Message-ID
- <7virdh76kh.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <Pine.LNX.4.64.0703040234510.6485@iabervon.org>
Daniel Barkalow <barkalow@iabervon.org> writes:
> Actually, how about doing keyword expansion just like the new CRLF > handling?
That part is true, but practically speaking the only thing you can honestly replace is $Id$ with blob object name, and nothing else. Trying to put anything that is available via commit would at best telling a lie and at worst ending up denying the index (and denying the index is denying git as somebody said). You could fake the values for $Author$ and $Date$ from HEAD commit, but your index may or may not match HEAD commit when you check out path from it.