Re: Memory overrun in http-push.c
- From
Uwe Kleine-König <ukleinek@informatik.uni-freiburg.de>
- Date
- Mar 1, 2007, 17:52 UTC
- Message-ID
- <20070301175200.GA21433@informatik.uni-freiburg.de>
- In-Reply-To
- <20070301120042.GD63606@codelabs.ru>
Hello Eygene,
Show 7 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. Can I have it with git if user has just the > sources without any signs of the file versions? I've glanced over > the git manual, but was unable to find anything usable.
Git and the linux kernel (can) have the commit hash in their version.
For git you can see it with
$ git version git version 1.5.0.2.260.g2eb065
for the linux kernel you have to enable CONFIG_LOCALVERSION_AUTO, then you get:
$ uname -r 2.6.20-g509cb37e
Knowing the commit you can determine the corresponding "version" of b.c.
There are some other possiblities to communicate that hash. E.g. a tar archive created with $ git-archive --format=tar ...
allows you do to
$ git-get-tar-commit-id < $tarfile 2eb06531e3d53c2604f20c32e5cb791d5044ff02
Best regards Uwe
-- Uwe Kleine-König exit vi, lesson IV: Z Z NB: may write current file