From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jakub Narebski Subject: Re: Memory overrun in http-push.c Date: Fri, 02 Mar 2007 15:38:01 +0100 Organization: At home Message-ID: References: <20070228151516.GC57456@codelabs.ru> <200703011040.35971.andyparkins@gmail.com> <200702281541.41164.andyparkins@gmail.com> <20070301051323.GG57456@codelabs.ru> <81b0412b0703010015l5c91c68pd4748ae379db98bb@mail.gmail.com> <7vslcpux62.fsf@assigned-by-dhcp.cox.net> <20070301120042.GD63606@codelabs.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit To: git@vger.kernel.org X-From: git-owner@vger.kernel.org Fri Mar 02 15:43:33 2007 Return-path: Envelope-to: gcvg-git@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1HN8yq-000371-AQ for gcvg-git@gmane.org; Fri, 02 Mar 2007 15:43:32 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2992490AbXCBOn3 (ORCPT ); Fri, 2 Mar 2007 09:43:29 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S2992491AbXCBOn3 (ORCPT ); Fri, 2 Mar 2007 09:43:29 -0500 Received: from main.gmane.org ([80.91.229.2]:59401 "EHLO ciao.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2992490AbXCBOn2 (ORCPT ); Fri, 2 Mar 2007 09:43:28 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HN8uO-0003G1-RG for git@vger.kernel.org; Fri, 02 Mar 2007 15:38:58 +0100 Received: from host-81-190-24-11.torun.mm.pl ([81.190.24.11]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 02 Mar 2007 15:38:56 +0100 Received: from jnareb by host-81-190-24-11.torun.mm.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 02 Mar 2007 15:38:56 +0100 X-Injected-Via-Gmane: http://gmane.org/ X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: host-81-190-24-11.torun.mm.pl Mail-Copies-To: Jakub Narebski User-Agent: KNode/0.10.2 Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: Eygene Ryabinkin wrote: > 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. First, keyword expansion on checkout (CVS-like) is an abomination; the proper way is to do it on _build_ time, like git and Linux kernel do, so "git version" (or "git --version") and "uname -a" gives us the version which can be used with git to go to it. Second, there were some work on git mailing list to create git command which given a blob (or sha1 of a blob object) would list all commits (in date order) which have this exact version of a file (of a blob). Third, tar files generated by git-acrhive have version embedded as a comment in them. -- Jakub Narebski Warsaw, Poland ShadeHawk on #git