Re: Memory overrun in http-push.c
- From
Alex Riesen <raa.lkml@gmail.com>
- Date
- Mar 1, 2007, 21:43 UTC
- Message-ID
- <81b0412b0703011343je4de3b6ra5c1d577da041dcf@mail.gmail.com>
- In-Reply-To
- <Pine.LNX.4.63.0703011802130.22628@wbgn013.biozentrum.uni-wuerzburg.de>
On 3/1/07, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
Show 15 quoted lines
> > > By the way, I am missing one thing: the Id keyword in the file. The > > problem is that when some user is telling me: there is a bug in the > > function a() that is inside the file b.c, then I can ask him to give me > > the $Id$ tag of the file and I will have the full information about the > > file version. > > The problem is: Git does not track files, but rather trees. So, there is > no sane way to add an Id. > > But all is not lost! If your colleague sends you the offending file, you > can calculate the object name from it by > > $ git-hash-object -t blob <filename> >
Wont work. The ids in question are really strings embedded into object. Something like:
$Id 1.2 user filename.c$
They can be found, extracted from the binary and sent to developer with a bug report. It's more of a build signature. IOW, the colleague in question has to have the source, which, I suspect, he wont.
Of course, it's very simple to embed the HEAD into build and tell the tester to send the SHA-1 in case of bug report.