From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6492 invoked by alias); 14 Oct 2011 05:56:08 -0000 Received: (qmail 6481 invoked by uid 22791); 14 Oct 2011 05:56:06 -0000 X-SWARE-Spam-Status: No, hits=-6.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS,TW_FC X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 14 Oct 2011 05:55:41 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p9E5tZNr032280 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 14 Oct 2011 01:55:35 -0400 Received: from host1.jankratochvil.net (ovpn-116-16.ams2.redhat.com [10.36.116.16]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p9E5tXpl010301 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 14 Oct 2011 01:55:35 -0400 Received: from host1.jankratochvil.net (localhost [127.0.0.1]) by host1.jankratochvil.net (8.14.4/8.14.4) with ESMTP id p9E5tWtS009441; Fri, 14 Oct 2011 07:55:32 +0200 Received: (from jkratoch@localhost) by host1.jankratochvil.net (8.14.4/8.14.4/Submit) id p9E5tVUu009433; Fri, 14 Oct 2011 07:55:31 +0200 Date: Fri, 14 Oct 2011 05:56:00 -0000 From: Jan Kratochvil To: "Alfred M. Szmidt" Cc: pmuldoon@redhat.com, joseph@codesourcery.com, gdb@sourceware.org Subject: Re: GIT and CVS Message-ID: <20111014055530.GA8886@host1.jankratochvil.net> References: <20111013215020.GA13438@host1.jankratochvil.net> <20111013224440.GA17614@host1.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2011-10/txt/msg00103.txt.bz2 On Fri, 14 Oct 2011 01:37:03 +0200, Alfred M. Szmidt wrote: > > While useful, they don't replace information of this type: > > > > * configure.ac (tic6x-*-*): Remove gdb from noconfigdirs. > > git log -p: > tic6x-*-*) > - noconfigdirs="$noconfigdirs gdb sim" > + noconfigdirs="$noconfigdirs sim" > > git annotate: > 005efcbe (Joseph Myers 2010-03-23 16:05:34 +0000 1022) tic6x-*-*) > 34dd72a9 ( qiyao 2011-08-14 12:28:15 +0000 1023) noconfigdirs="$noconfigdirs sim" > 005efcbe (Joseph Myers 2010-03-23 16:05:34 +0000 1024) ;; > -> > git show 34dd72a9 [...] > I think you missunderstood me, if I am looking at a bug I wish to > follow the changes done to something, usually a function. While > log/annotate are useful to see what the tree looked like at some > point, Not just at some point. The [revision] parameter there can go back in history which is why I also put it here in the former mail: git annotate configure.ac 34dd72a9^ 005efcbe (Joseph Myers 2010-03-23 16:05:34 +0000 1022) tic6x-*-*) fe571c9f (Joseph Myers 2011-04-28 13:24:51 +0000 1023) noconfigdirs="$noconfigdirs gdb sim" 005efcbe (Joseph Myers 2010-03-23 16:05:34 +0000 1024) ;; It could be made more convenient but GIT provides IMO the best such feature+performance so far to make it feasible. > it doesn't help me follow how something has changed over a time > period. ChangeLog makes this trivial. ChangeLog is not usable for tracking such changes as I cannot trust it wrt mistakes of its text vs. the real source changes. And also/primarily the word description of the diff (*) there is too general. (*) I do not understand why it makes sense to re-state by human what is already present in the diff itself. > You could store the exact same information in the ChangeLog, git > doesn't solve what you put in the ChangeLog/commit message. The problem with CVS is I need to access the server for anything. Which is either slow or temporarily overloaded/inaccessible or I am just offline. I would need to have always up-to-date rsync copy for local access - do you have? It is just easier with GIT, and working even for projects where usually the rsync access is not provided (but no other projects use CVS anymore). > Or, with a fictious bug ID: > > 2011-07-26 Tom Tromey > > Implement new DWARF macro proposal. (Bug#123456) > > URL: http://sourceware.org/ml/gdb-patches/2011-07/msg00732.html [...] > I agree, such information is useful. Several projects have started > adding it as part of the ChangeLog entry; like the examples above. Yes, that would be great. Thanks, Jan